Commit 80973f4
vanboompow
experiment(search): inline dispatch + dateToUnixDays int arithmetic + remove dead code
- Inline operator dispatch (cases 1-7) directly in Parse's space handler,
eliminating 9/10 dispatchToken function calls per complex parse
- Use sentinel loop (i<=n) to unify end-of-string with space handler
- Convert dateToUnixDays to int arithmetic (inlining cost 69 < 80 budget)
- Remove dead quote-stripping from inline dispatch (space-handler tokens
are never quoted since the quote handler intercepts them first)
- Remove counterproductive BCE hints that added overhead
bench_parse_complex_ns: 201.8 → 190.8 (~5.5% improvement)1 parent 281b5cd commit 80973f4
1 file changed
Lines changed: 211 additions & 101 deletions
0 commit comments