@maschinenlesbar.org/openka-cli
    Preparing search index...

    Class TextBuilder

    A text put together from many pieces, joined in batches of BUILDER_BATCH into flat strings, so memory stays proportional to the text, not to the number of pieces. One += per piece made a rope node each: a record of a few million characters exhausted a 128 MB heap (security audit 2026-10-27).

    Index
    • Parameters

      • ...pieces: string[]

      Returns void

    • Returns string