Open jimmywarting opened 3 years ago
using unordered-set mutates the object by setting a own property _index on the objects I guess this have some performances penalties?
_index
I'm betting the native Set dose some some similar thing but use pointers instead? my bet is that new Set() is faster
new Set()
Hmm, it was a bit slower, wonder why
using unordered-set mutates the object by setting a own property
_index
on the objects I guess this have some performances penalties?I'm betting the native Set dose some some similar thing but use pointers instead? my bet is that
new Set()
is faster