Files
pdfcraft/crates
Dylan M. Taylor db862cf4d0 fix(redact): remove reply chains by walking a parent index once
Reply removal ran fixed-point loops: per page, every pass scanned all
replies and searched a growing Vec of removed annotations; across pages,
every pass re-read every page's /Annots. A chain listed deepest first
added one reply per pass, so the work was cubic on a page and quadratic
across pages.

Replies are now indexed by parent (/IRT, and /Parent for pop-ups across
pages) once and walked from the removed annotations with a HashSet, so
each link is followed once. What is removed is unchanged.
2026-11-03 12:55:44 +00:00
..
…