Repository navigation
Commit 7804990
JXL: lossless decoding in threads from 512 KiB on
A second sweep on other content (a tiled screenshot, 64 colors, alpha
gradients at 1-4 megapixels; threads 1 vs the default rules) found one
case slower with threads: lossless JPEG XLs of few colors (2 MP: 78 ->
128 ms) decode faster than threads start. Lossless decoding takes about
as long as the file is large, so threads need 512 KiB too (photo 2 MP,
1.4 MB: 1.6x; screenshot 2 MP, 0.67 MB: 1.08x; few colors 0.17 MB: now
without). Every other case was faster with threads or the same (AVIF
4:4:4 decoding, within 3%).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsU2GAqbnFSNaYDBGD1Km21 parent eae6c43 commit 7804990
3 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
0 commit comments