Hi! Very good article!
I'm worried about the statement that Sets are faster that objects in general when that's not true at all :(
Sets are faster for some specific operations like modification and iteration while Object and Array are WAY faster for access.
So for cases where you want a lot of data easy to access but you don't want to modify it often (like a cache)
Object is way better than set.
https://jsperf.com/ip-playground
Guess which ones are Object and Array.

Hi! Very good article!
I'm worried about the statement that Sets are faster that objects in general when that's not true at all :(
Sets are faster for some specific operations like modification and iteration while Object and Array are WAY faster for access.
So for cases where you want a lot of data easy to access but you don't want to modify it often (like a cache)
Object is way better than set.
https://jsperf.com/ip-playground
Guess which ones are Object and Array.
