perf: remove msgpack.unpackb from wire_push_unpack_bundle sync path
sha256(wire_bytes) == bundle_key already proves every byte in the bundle. Parsing to count objects is checking the work of the hash.
- Add commits_count/objects_count params to wire_push_unpack_bundle - Remove local msgpack.unpackb call; use client-supplied counts for logging - Add module-level import msgpack as _mp for spy-patch testability - TDD: test_unpack_bundle_does_not_call_msgpack_unpackb green
sha256:8a7f1c45aaf698ac58dd9f0de7772bbeb02c0a539d180d9de31952dd20e35e48
sha
+37
~2
symbols
sha256:2d171fbad56eef89cc12ce7858af3390096a969b391f5968faafdb686137ba9c
snapshot
+37
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
39 symbols
+
test_unpack_bundle_does_not_call_msgpack_unpackb
function
async_function test_unpack_bundle_does_not_call_msgpack_unpackb L154–221
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8a7f1c45aaf698ac58dd9f0de7772bbeb02c0a539d180d9de31952dd20e35e48 --body "your comment"
No comments yet. Be the first to start the discussion.