Commit 18f0cf2
committed
OnPair: drop Like pushdown for now, keep Compare token-aware path
The byte-streaming `prefix%` and per-row decode + memmem `%contains%`
implementations were not consistently faster than canonicalize + scalar
LIKE: the bulk 4×-unrolled decoder is hard to beat with per-row work.
Drop Like from PARENT_KERNELS so the system falls through to
canonicalize + scalar LIKE.
Compare stays pushed: LPM-tokenise the literal once, then `&[u16]`
equality on every row's `codes[lo..hi]` — no decode at all, ~7 ns/row.
Tests still pass via the canonicalize fallback. A token-DFA
implementation (FSST-style, EQSearch / PrefixAutomaton on tokens) is
tracked for the next iteration.
Signed-off-by: claude <claude@anthropic.com>1 parent 53c3ea4 commit 18f0cf2
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
17 | 21 | | |
0 commit comments