mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
034a64346c
Pure literal patterns (/hello/, /abc/) are detected at compile time and matched using memchr+memcmp directly, completely bypassing Pike VM setup (no malloc, no visited array, no thread lists). Engine-only time drops from ~400ns to ~80ns. Co-authored-by: Claude <noreply@anthropic.com>