redactive-performance

Installation
SKILL.md

Performance and strategy selection

Use this skill when

  • You need to evaluate Redactive's performance for a specific workload.
  • You are choosing between safe and generated compilation.
  • You are deciding between clone and mutation mode for a hot path.
  • You want to understand what the benchmark suite measures.

Execution plan architecture

createRedactor validates options once and selects the narrowest compatible plan:

  1. Exact static paths (no keys, detectors, wildcards, callbacks, or non-default policies): depth-specialized closure accessors for mutation and a compact path tree for selective clone.
  2. Generated compilation (codegen: true with compatible config): one strict whole-plan mutation function via new Function.
  3. Single static wildcard (* or [*] only): bounded wildcard walker with selective clone state.
  4. Root strings: bypass structured graph state; use precompiled regex, detector prefilters, and linear string reconstruction.
  5. Complete iterative engine: recursive wildcards, overlapping wildcards, key rules, detectors, callbacks, removals, explicit limits, and non-default graph policies.
Installs
1
GitHub Stars
5
First Seen
1 day ago
redactive-performance — neplextech/redactive