Skip to content

Take the jpeg2000 release that stops copying a whole-component tile - #94

Merged
tannevaled merged 1 commit into
mainfrom
bump-jpeg2000-v0101
Sep 28, 2026
Merged

tannevaled merged 1 commit into
mainfrom
bump-jpeg2000-v0101

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

go-images/jpeg2000 v0.10.1 hands a whole-component tile's coefficients to the
component plane instead of copying every row onto a buffer of the same shape —
what opj_j2k_move_data_from_codec_to_output_image does in the reference.

Decoding one 5868×7885 one-component scan alone, so the figures are the
decoder's:

peak RSS live heap
v0.10.0 917 MB 717 MB
v0.10.1 751 MB 540 MB

Nothing in this repository changes. The 3215 documents of the measured corpus
that render byte-identically (0 different, 66 drawn by neither, population
floor 3000) were rendered by exactly this pair — v0.61.0 against v0.10.1 — and
the module in the cache was diffed against the tree that was proved.

🤖 Generated with Claude Code

v0.10.1 hands a tile's coefficients to the component plane instead of copying
every row onto a buffer of the same shape. Decoding one 5868x7885
one-component scan alone, peak RSS falls 917 -> 751 MB and the live heap
717 -> 540 MB.

Nothing here changes: the 3215 documents of the measured corpus that render
byte-identically were rendered by exactly this pair, v0.61.0 against v0.10.1.
@tannevaled
tannevaled merged commit 8719921 into main Sep 28, 2026
9 checks passed
@tannevaled
tannevaled deleted the bump-jpeg2000-v0101 branch September 28, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant