A lazy enumerable/stream of bytes.
9 people like thisPosted: 13 years ago by Ryan Riley
A Circular, or Ring, Buffer that flattens incoming arrays and allows consumers to take arbitrary-sized chunks. Improvements and suggestions welcome. Fork my gist at https://gist.github.com/1648579.
7 people like thisPosted: 12 years ago by Ryan Riley
An initial attempt at creating a ByteString type based on the Haskell version.
4 people like thisPosted: 13 years ago by Ryan Riley
This is a simple code implementation to copy Streams leveraging the Async workflow. After the first read, the write and read processes are done in parallel. I also used an Array of Array as buffer to avoid false sharing memory. An other improvment option could be to increase the buffer size if the copy is done in same machine.
7 people like thisPosted: 9 years ago by Riccardo Terrell