You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(media): amortize fast_image_resize Resizer scratch buffers across thumbnail-worker iterations #111
L4 landed fast_image_resize 6.0 at commit c2b45e4 with 6.9× speedup. Double code review flagged that Resizer::new() is constructed inside resize_image every call, discarding internal scratch buffers. Resizer is designed to be reused (docs.rs confirms scratch buffers + cached CPU-extension dispatch).
Candidate designs: (1) Mutex on ThumbnailGenerator; (2) thread_local! RefCell; (3) worker-local Resizer passed in via fn resize_image_with(&self, resizer: &mut Resizer, img) — touches queue.rs too.
Activity
perf(media): amortize fast_image_resize Resizer across thumbnail-work…
test(media): regression-test Resizer reuse vs per-call allocation
arch-audit v0.6.x — checkpoint: Batches F→J landed (#136)