Files
photocraft/crates/algo/examples
f127459ca3 perf(algo): build Remove Tool target masks with a bounded separable dilation (#10179) (#10194)
* perf(algo): build Remove Tool target masks with a bounded separable dilation (#10179)

* docs(algo): remove::dilate no longer always runs two full-grid passes

* test(algo): shrink the square dilation tests

Exhaustive masks up to 3x3 instead of 4x4, drop the 300x200 named grid
(the smaller grids already clip at r = 200, so its oracle-cost guard goes
too), and run the path-choice tests on 600x400 and 240x240 grids.

* test(algo): a mask with more set cells than bounds keeps matches the oracle

Covers the branch where bounds drops its cell list (more than KEEP set
cells) and the direct path rescans the box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:04:08 +01:00
..