Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sparse-set"

Index

Variables

Const __private

__private: WeakMap<ASparseSet<any>, SparseSetProps> = new WeakMap<ASparseSet<any>, SparseSetProps>()

Functions

Const fail

  • fail(): never

Const sparseSet

  • Creates a new sparse set with given max. capacity (max ID + 1) and chooses most memory efficient implementation, e.g. if n <= 256 returns a SparseSet8 instance.

    Parameters

    • n: number

    Returns SparseSet8 | SparseSet16 | SparseSet32

Generated using TypeDoc