We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: