mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
- Rename stub field originalBytes → serializedBytes and fix the comment; the value was always serialized JSON length, not raw content bytes - Add elision_marker_len() arithmetic helper so leaf_shrinks() avoids a heap allocation per candidate during shrinkability checks - Add test_multi_leaf_both_elided_when_largest_alone_insufficient covering the multi-iteration loop path (90K + 60K leaves; first elision alone leaves the frame over-cap) - Rename test_many_medium_leaves_terminate_via_stub → test_unshrinkable_leaves_fall_through_to_stub; the loop body never ran in that test since all leaves were at the retain floor - Trim the doc comment on fit_observer_event_to_budget to normal length; move the termination note inline above the while loop, drop the signature-choice essay - Remove the brittle buzz-core/observer.rs:25 line-number pin from the OBSERVER_CHUNK_MAX_TEXT_BYTES comment