perf: delta+zlib compress objects on bundle push path
build_mpack_from_walk(compress=True) walks snapshot_deltas in order, emitting each object as: - delta+zlib against immediate predecessor (same path, prior commit) - zlib if no predecessor or delta is larger than zlib - raw only when zlib makes it larger
Objects are emitted in dependency order so the server can reconstruct by reading base_id before delta. For incremental text changes, delta+zlib reduces payload to a tiny diff — expected 70-90% wire size reduction for a typical code repo.
sha256:503bf12e2e99e0c932dd4cc79e5fd492c58e65d35b3dea568df3f60efb79b586
sha
+26
~2
symbols
sha256:67b120b4781cce8d4c5ffe1ee2246ccd99e64c2126acbd17705cdfdeab48c05d
snapshot
+26
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
28 symbols
+
test_bundle_compressed_objects_reconstructable
function
function test_bundle_compressed_objects_reconstructable L162–195
+
test_bundle_compression_reduces_wire_size
function
function test_bundle_compression_reduces_wire_size L137–159
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:503bf12e2e99e0c932dd4cc79e5fd492c58e65d35b3dea568df3f60efb79b586 --body "your comment"
No comments yet. Be the first to start the discussion.