Open
Description
This is more an FYI than a specific feature request. For ideal performance, implementations should consider the following:
- Using a specialized append-only set rather than the built-in ES one, as only "has" and "add" are ever used.
- For integer arrays, using a sparse bit set rather than a traditional set to improve both speed and memory.
- For polyfills, using the obvious
Array.from(set)
rather than a parallel array.