bim

A bidirectional map based on the ES6 Map & WeakMap objects

@pranavpatel.ca/algo-kombin

KombiN is a library for bijectively mapping all ordered pairs from two finite sets into a single linear index. It orders pairs by ascending weight (sum of indices) using a three-region zig-zag algorithm, enabling O(1) bidirectional lookups between pairs a

@risai/bim

A bidirectional map based on the ES6 Map & WeakMap objects