tc39 / proposal-collection-normalization

MIT License
41 stars 8 forks source link

Performance overhead? #17

Closed rkatic closed 3 years ago

rkatic commented 4 years ago

Considering that Maps and Sets are very crucial data structures for efficient algorithms, I am wondering what performance overhead would be introduced by adding internal complexity on each collection operation.

hax commented 4 years ago

As my understanding, current proposal won't add performance overhead on normal Maps/Sets which do not pass coerce options.

bmeck commented 3 years ago

Correct, normal collections should not be affected