Skip to content

Implementation recommendations #14

Description

@dead-claudia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions