Skip to content

EXPERIMENTAL: Various hacks for zero-allocation stream parsing in Rust.

License

Notifications You must be signed in to change notification settings

emk/rust-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EXPERIMENTAL: Zero-Allocation Streaming Parsers in Rust

Here there be hacks. No APIs are stable. Code may not do what the comments claim.

Key goal:

  • Build a 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:

  • rust-csv.
  • Multicore map/reduce of Snappy-compressed records.
  • Anybody else who needs to iterate over a data stream without allocating.

Random useful things to read:

We beg for help::

About

EXPERIMENTAL: Various hacks for zero-allocation stream parsing in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages