Add rezolus_memory example, comparing Histogram vs sparse memory footprint#14
Merged
thinkingfish merged 3 commits intomainfrom Apr 29, 2026
Merged
Conversation
…print
Reads histogram columns from Rezolus parquet recordings, reconstructs each
sample as `Histogram`, `SparseHistogram`, and `CumulativeROHistogram`, and
prints per-column and overall distribution statistics for the in-memory size
of each representation.
Usage:
cargo run --release --example rezolus_memory -- \
path/to/recording1.parquet path/to/recording2.parquet ...
Also bumps the crate to 1.1.1-alpha.0 per CLAUDE.md.
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.
Summary
rezolus_memoryexample that comparesHistogramagainst a sparse representationsize_of_valto satisfyclippy::manual_slice_size_calculationsparse_bytes1.2.0-alpha.2(revision bump perCLAUDE.mdversioning rules)Notes
main(b61e5b0); resolved aCargo.tomlversion conflict by adopting1.2.0-alpha.2over the obsolete1.1.1-alpha.0.cargo build --examplessucceeds locally.Test plan
cargo build --examplescargo run --example rezolus_memoryGenerated by Claude Code