Commit a0a024d
committed
refactor(search): strip experimental scaffolding, tighten public API
Reduce the search PR to its shippable surface and make the public docs
match behaviour:
- Remove research/experiment scaffolding: the #[ignore]d experiment tests
in src/search/mod.rs (LPM reachability, DFA dumps, first_codes
distribution, inner-range probes), docs/SEARCH_OPTIMIZATION.md, the C++
search_bench harness (cpp-bench/search_bench.cpp + its CMake target),
the bench's ONPAIR_SEARCH_DUMP / TPC-H parquet-dump utilities, and the
now-dead #[cfg(test)] debug methods on KmpAutomaton (step_from,
boundary_state_counts, dump_dfa).
- Document SearchParts as a caller-validated view (like Parts): its public
fields are unchecked, and search indexes codes by code_offsets without
revalidating.
- Fix the Column::first_codes doc: Parser::parse always populates it; the
Option exists for columns rehydrated from storage that did not persist
it (prefix search then falls back to the per-row scan).
Public API is unchanged (Pattern, RowMask, SearchParts,
Column::as_search_parts). All lib tests pass; clippy is clean on all
targets.1 parent 5edb52e commit a0a024d
9 files changed
Lines changed: 13 additions & 1242 deletions
File tree
- benches
- benchmarks/onpair-bench
- cpp-bench
- docs
- src
- search
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | 679 | | |
725 | 680 | | |
726 | 681 | | |
727 | 682 | | |
728 | 683 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | 684 | | |
733 | 685 | | |
734 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 245 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 246 | | |
280 | 247 | | |
281 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 92 | | |
115 | 93 | | |
116 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
This file was deleted.
0 commit comments