Skip to main content

package @rimbu/hashed/map-custom

The @rimbu/hashed/map-custom entry exposes the internal interfaces, builders and contexts behind HashMap, allowing you to define custom hash‑map variants that plug in specific hashers, equality comparers or block configurations. Use it only when you need low‑level control over hashed map internals; for everyday hash‑map usage the main @rimbu/hashed and @rimbu/hashed/map APIs are recommended.

Interfaces

NameDescription
HashMapCreatorsundocumented

Classes

NameDescription
HashMapBlockundocumented
HashMapBlockBuilderundocumented
HashMapCollisionundocumented
HashMapCollisionBuilderundocumented
HashMapContextundocumented
HashMapEmptyundocumented
HashMapNonEmptyBaseundocumented

Functions

createHashMapContext

undocumented

Definition

export declare function createHashMapContext<UK>(options?: {
  hasher?: Hasher<UK>;
  eq?: Eq<UK>;
  blockSizeBits?: number;
  listContext?: List.Context;
}): HashMap.Context<UK>;

Type parameters
NameDescription
UK

Parameters

NameTypeDescription
options{
  hasher?: Hasher<UK>;
  eq?: Eq<UK>;
  blockSizeBits?: number;
  listContext?: List.Context;
}