Repository navigation
Step the moving frames' zstd and widen the still stream's table - #160
Merged
Merged
Conversation
A frame of its own now steps 8 bytes past a place the fast strategy found no match at, its literals forced to stay Huffman coded (zstd's `experimental` parameters): a moving picture's frame is its literals' entropy coding more than its matches. The still stream keeps every look, and takes a 65536-entry table with the 8 MiB window the protocol allows: the 4096-entry one forgot a match further back than a few thousand places, so a larger window had taken nothing off. The test reader holds a still stream's window to 8 MiB, as the page does. On lab1 over every sample, against 0.0.119: 197 -> 170 s of the processor over all but flood, a video at 1920x1080 11.6 -> 9.9 ms a frame; bytes 15,064 -> 15,027 MB, the browser's 19.6 -> 3.6 MB. Both off the roadmap; figures in tiles-performance.md, the bench in the artifacts' bench/lossless-zstd-20261105/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two planned items of the roadmap's Lossless tiles, and release 0.0.120.
KIND_PLANAR) now steps 8 bytes past a place the fast strategy found no match at (targetLengthunderZSTD_fast), its literals forced to stay Huffman coded (literalCompressionMode, behind the zstd crate'sexperimentalfeature, which the bundled libzstd source already carries). The still stream keeps every look.STILL_WINDOW_MOST), so neither the protocol nor the page changes. The test reader now holds the window to 8 MiB as the page does.Measured on lab1, alone,
motion-bench --tiles-only --losslessover every sample at every size, two runs each, against 0.0.119:The still table costs the mixed session 4% more of the processor; moving pictures carry up to 0.4% more bytes. Figures in
docs/tiles-performance.md, design indocs/architecture.md; the bench is archived asbench/lossless-zstd-20261105/.wlshare-protois unchanged, so noproto-vtag.cargo test,cargo clippy --all-targets -- -D warningsandcargo fmt --checkpass.🤖 Generated with Claude Code