digitree
    Preparing search index...

    Interface BTreeOptions

    Optional, per-tree tuning of the two always-on safety costs. Both default to the safe behavior.

    interface BTreeOptions {
        checkComparator?: boolean;
        freeze?: boolean;
    }
    Index

    Properties

    checkComparator?: boolean

    Run the full per-comparison antisymmetry check on EVERY key comparison (the historical behavior). Default false. When false, a cheap bounded sample of the first comparisons is checked instead, then the check drops off the hot path entirely.

    freeze?: boolean

    Freeze entries on insert/update/upsert/merge to deter key mutation. Default true (safe). Set false only for trusted bulk loads of never-mutated entries — the tree then offers no protection.