No description
| benches | ||
| src | ||
| .gitignore | ||
| blog-post-understanding-bytes.iml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| rust-toolchain | ||
| schematics.excalidraw | ||
Blog post: Understanding Bytes in Rust
This code is used in the post https://sitegui.dev/post/2026/understanding-bytes-in-rust-one-bit-at-a-time, where I
investigate the behavior of the bytes::Bytes struct.
To run with memory tracking:
RUST_BACKTRACE=1 cargo test --all-features -- --nocapture
To run the benchmark:
cargo bench