singularity-forge/native/crates
Lex Christopherson ac34c7c283 feat: add native Rust TTSR regex engine via RegexSet
TTSR's checkDelta() runs O(rules x conditions) regex evaluations per
streaming token — the hottest path in GSD. This adds a Rust native
module that compiles all condition patterns into a single RegexSet,
testing them in one DFA pass instead of sequential JS RegExp iteration.

The TtsrManager transparently uses the native engine when available and
falls back to the existing JS regex loop when it is not.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 13:57:12 -06:00
..
ast feat: add native ast module with ast-grep structural search and rewrite 2026-03-13 13:02:29 -06:00
engine feat: add native Rust TTSR regex engine via RegexSet 2026-03-13 13:57:12 -06:00
grep feat: Rust native engine scaffold with grep module 2026-03-13 12:21:09 -06:00