Skip to main content

Strings and duplication

These tools are in the strings toolset. Starting the server with MEMLAB_TOOLSETS=strings exposes only them, plus the few tools every session needs, and memlab_tools({enable: "strings"}) turns them on in a session. Try them in the order listed.

ToolUse it when
memlab_string_prefix_censusStrings by PREFIX (blob:, data:image/, a key scheme) on every rung, from the sidecar index — seconds, not a full-graph walk per rung.
memlab_intern_opportunitiesWhat an intern pool would actually reclaim, grouped by property x parent shape. Start here for an interning decision.
memlab_duplicated_stringsThe raw per-value duplication table, plus the largest values regrouped by the object shape holding them: several duplicated fields of one shape are one object copied many times.
memlab_string_patternsGroup strings by prefix to find families (URLs, ids, payloads); normalize:true masks digits and names the top holders.
memlab_sliced_stringsSubstrings pinning huge parents.
memlab_duplicate_objectsThe same question for objects rather than strings.
memlab_search_stringsFind a string value in the heap.
memlab_get_stringRead one string node’s value.