Commit 6722045
store: neighbors_text parses the target page once, not twice
Address the Copilot review: neighbors_text read the target via read_page()
AND again inside the full load() scan. Validate the path with okf.safe_join,
then take the already-parsed Page from load() — one parse, matching the
"one load()" claim. Same FileNotFoundError / OKFError contract.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1ec6177 commit 6722045
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
| 186 | + | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
0 commit comments