diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 15:38:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 16:49:16 -0300 |
| commit | 470b8098a53ad3b3b0a2ef90f0d43416ea50a9b0 (patch) | |
| tree | b9cfc3118cfed851d3dadd3f42280cf305497f55 /src/pdf_bridge.c | |
| parent | 020a7d24103a7c6f788db1091fd921d41d0df9e8 (diff) | |
| download | pardes-470b8098a53ad3b3b0a2ef90f0d43416ea50a9b0.tar.gz pardes-470b8098a53ad3b3b0a2ef90f0d43416ea50a9b0.zip | |
Places: the lowered copy a smart-case search reads is zeroed where it is made: its pieces not lowered yet were whatever the heap held, in every digest and a join's dump, so two processes' places differed (H5's and H17's `places.hits|hay`)
freshHay took `memory.unfilled` and lowered a piece at a time as the search reached it; the digest and the dump take the whole slice. Zeroing it costs 20 us for 1 MB, 0.4 ms for 10 MB and 10 ms for 100 MB in one frame (ReleaseFast, page faults included; lowering the same text is four times that, spread over frames), the order of the copy an edit of that text already makes.
Test (failing before): two sessions searching one text, each heap handing out other bytes (rollback.Epoch.fill), digest the same places.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/pdf_bridge.c')
0 files changed, 0 insertions, 0 deletions
