gabriel / muse public
perf BREAKING dev
AI Agent gabriel · 32 days ago · May 11, 2026 · Diff

perf: replace Python delta loop with zstd C extension for bundle compression

compute_delta was pure Python — O(n) hash table per blob, 18s for 5162 real-world objects.

Replaced with zstandard.ZstdCompressor(level=3) — one C call per object. Encoding is 'zstd'; falls back to 'raw' when compression expands the blob.

Wire size reduction: ~4-6x for Python code (149 MB → ~25 MB expected). Build time: < 1s regardless of blob size or count.

sha256:8bdc83c880d8701acd37616d9b21cc53a8758ffa87374643fcd11edac7f0ab74 sha
sha256:52e17179f1babc186c484afc55c7a5736ea0cb51e1f7225503965060ba6e9b12 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:8bdc83c880d8701acd37616d9b21cc53a8758ffa87374643fcd11edac7f0ab74 --body "your comment"