rtrtr icon indicating copy to clipboard operation
rtrtr copied to clipboard

Change output streams to reuse a supplied buffer.

Open partim opened this issue 3 years ago • 0 comments

Currently, the output streams (i.e., format::output::Stream and its enclosed types) allocate a new Vec<u8> for each step. We should change this so they only allocate a buffer once and re-use it for each step. They can’t be iterators anymore but c'est la vie.

partim avatar Jan 07 '22 10:01 partim