SIGN IN SIGN UP

perf(render): carry hayro-interpret patch memoizing tint-transform evaluation (#31)

* perf(render): patch hayro-interpret to memoize tint-transform evaluation

Separation/DeviceN color conversion in hayro-interpret 0.7.0 evaluates
the tint transform once per image pixel; for Type 4 (PostScript
calculator) functions that is a full interpreter run per pixel. A
3009x4301 DeviceN-encoded scan made one page take ~4.7s to render at
any dpi (fixes #30's repro: 3.1s -> 0.34s locally, byte-identical
output).

Carry the fix via [patch.crates-io] pointing at a fork branch based on
hayro-interpret-v0.7.0 until it lands upstream.

* ci(release): fail crates.io publish while a [patch.crates-io] override is carried

cargo strips [patch] tables when packaging, so publishing now would
silently ship a crate built against unpatched hayro-interpret. GitHub
release binaries build from the repo and keep the fix; block only the
crates.io publish until the fix is upstreamed.
H
henrique cunha committed
c9a824cb303d82cc38bdb6bb8fc2e09b018d3f56
Parent: 4ca8e53
Committed by GitHub <noreply@github.com> on 7/7/2026, 5:28:37 PM