Commit c950056
chore: address PR review comments (comments, disjunction close, benchmarks)
- Restore the concise "clear out the score breakdown map" comment in
DocumentMatch.Reset (keep the nil-guard).
- Drop the redundant fast-path comment in MergeFieldTermLocations.
- Split the combined err/rv check after the unadorned disjunction optimization
into separate error and success returns, per review suggestion.
- Remove the standalone micro-benchmark files (merge_reset_bench_test.go,
disj_unadorned_bench_test.go); the measurements live in the commit messages.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ea72b3f commit c950056
5 files changed
Lines changed: 13 additions & 141 deletions
File tree
- index/scorch
- search
- searcher
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
| 238 | + | |
241 | 239 | | |
242 | 240 | | |
243 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments