Conversation
|
@mdsteele that |
|
Thanks for working on this! If this is a better/more-performant design, then I think a breaking change here makes sense; the API that would get broken was only just recently published, so probably not a lot of dependencies on it yet, and anyway this is a pre-1.0 crate. Making this a per-
But I'm totally open to something else if you suggest otherwise. |
|
@mdsteele want me to split up to |
63617b2 to
8467e5e
Compare
8467e5e to
d0357f5
Compare
|
Looks like this caused a regression on the read side. Adding a read benchmark. |
|
All done. Question on the single or split options remains. |
005e1f7 to
69a8c72
Compare
Oh, hmm. I think effectively ignoring the |
|
Want me to squash everything? |
|
Looks great, thanks |
|
@mdsteele mind releasing this? |
|
Sounds good, thanks. Published as v0.14.0. |
This pull request introduces a new dynamically growing buffer implementation for streams, replacing the previous fixed-size buffer approach.
This introduces a breaking change as the options on the
Streamhave been moved to theCompundFile. Also you now configuringmax_buffer_sizeinstead ofbuffer_sizewith a default of 1 MiB.I ran the original benchmark and with buffer size ignored there were only improvements, no regressions. So I removed the specific benchmarks per buffer size.