sonic-forest
Version:
High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)
10 lines (9 loc) • 354 B
TypeScript
import { Printable } from '../print/types';
import { BinaryTrieNode } from './BinaryTrieNode';
export declare class BinaryRadixTree<V = unknown> extends BinaryTrieNode<V> implements Printable {
size: number;
constructor();
set(key: Uint8Array, value: V): void;
get(key: Uint8Array): V | undefined;
delete(key: Uint8Array): boolean;
}