Commit 13ad9cb
committed
Remove unused codeBlocks from scanner interface and implementation
- Remove codeBlocks property from IDirectoryScanner interface
- Update scanner implementation to not return codeBlocks
- Update tests to remove codeBlocks assertions
- This completes the memory optimization by eliminating the unused return value
The scanner now only returns stats and totalBlockCount, which are the only
values actually used by the orchestrator. This further reduces memory usage
and simplifies the interface.1 parent 66f84f6 commit 13ad9cb
File tree
3 files changed
+2
-7
lines changed- src/services/code-index
- interfaces
- processors
- __tests__
3 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
| |||
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
335 | | - | |
336 | | - | |
337 | | - | |
| 334 | + | |
338 | 335 | | |
339 | 336 | | |
340 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
| |||
0 commit comments