Files
pdfcraft/crates
vangel76andClaude Sonnet 5.5 d04fad3acd fix(cos): recount the scan reader's cache when a read replaces entries
The running total trusted cache length and pointer equality to mean that
a read only added the requested object. A read whose nested loads made the
editor cache evict (it then keeps only the newcomer) leaves the length
unchanged, so a large string stayed cached past the 8 MiB budget. Count
the inserts a read makes instead; anything but a hit or exactly one insert
measures the whole cache again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 19:45:53 +01:00
..
…
…