Skip to content

v0.5.2

Choose a tag to compare

@matyushkin matyushkin released this 06 Apr 07:08
· 371 commits to main since this release

What's Changed

Performance Improvements

  • perf(render): 66% speedup on 600 dpi bilevel pages (#105)
    • Pixmap::new: replaced per-pixel push loop with bulk fill — 18 ms → 0.8 ms (−95%) for a 2649×4530 buffer
    • composite_bilevel: row-slice writes + rayon par_chunks_mut under --features parallel
    • Skip apply_gamma for pure bilevel pages (0/255 values, gamma is a mathematical no-op)
    • Parallel Y/Cb/Cr wavelet reconstruction via rayon::join under --features parallel
    • Sparse 600 dpi bilevel page: 42.7 ms → 14.5 ms — now within 19% of libdjvulibre (was 3.5× slower)

Full Changelog: v0.5.1...v0.5.2