At least I do :grinning:
# announcements
s
At least I do 😀
m
sreich: Do you use
mutableListOf
instead of
hashSetOf
. That's not good performance choice! You bad, bad developer 😉
s
🤣
Is the performance actually any different? I don't see how they could be
m
contains
s
That's not correct. mutableListOf is literally an if (size not 0) ArrayList() else ArraysAsCollection (..)
m
Yes. Lists have O(n) contains, Sets and Maps if implemented and used correctly are O(1).
s
Oh duh, I misunderstood what your original point was