EXPERIMENTAL: Various hacks for zero-allocation stream parsing in Rust.
Rust
59
14 commits
updated Dec 15, 2014
Here there be hacks. No APIs are stable. Code may not do what the comments claim.
Key goal:
StreamingIterator type that can return references to internal
state, including as I/O buffers and the output buffers of libraries like
flate2. This prevents
implementing collect, but why can't we have map, filter and fold?Target applications:
Random useful things to read:
unsafe")Iterator works the way it does for reasons explained here)We beg for help::
13 commits
1 commits
Rust
100.0%
EXPERIMENTAL: Various hacks for zero-allocation stream parsing in Rust.
Rust
59
14 commits
updated Dec 15, 2014
Here there be hacks. No APIs are stable. Code may not do what the comments claim.
Key goal:
StreamingIterator type that can return references to internal
state, including as I/O buffers and the output buffers of libraries like
flate2. This prevents
implementing collect, but why can't we have map, filter and fold?Target applications:
Random useful things to read:
unsafe")Iterator works the way it does for reasons explained here)We beg for help::
13 commits
1 commits
Rust
100.0%