mafintosh / mafintosh/unordered-set
Jsperf compare to `new Set()`
Open
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the unordered-set implementation that adds the `_index` property, then create or run a jsperf comparison with native `Set`. Done means the benchmark results clarify the performance difference and account for the mutation concern.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100