Repository navigation
Decode small Flate streams through asyncGetBytes (bug 2086217) - #22385
Conversation
Viewer preview🗑️ Viewer previews removed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #22385 +/- ##
=======================================
Coverage 90.56% 90.57%
=======================================
Files 278 278
Lines 68562 68568 +6
=======================================
+ Hits 62096 62106 +10
+ Misses 6466 6462 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will regress 1 benchmark
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Reference testsResults for d7e358b (run, references from mozilla/pdf.js.refs@4694e71d21).
The report is kept for 30 days and replaced by the next run. |
Snuffleupagus
left a comment
There was a problem hiding this comment.
r=me, with a question; thanks.
f6033af to
5a63317
Compare
Keep small Flate streams marked async and return their JS-decoded bytes so callers wrap them in plain Streams. For small image streams, prefer native decoding when the expected output exceeds 16 KiB. Preserve repeated reads when requested lengths change.
5a63317 to
d7e358b
Compare
Keep small Flate streams marked async and return their JS-decoded bytes so callers wrap them in plain Streams.
For small image streams, prefer native decoding when the expected output exceeds 16 KiB. Preserve repeated reads when requested lengths change.