diff options
author | 2019-11-12 14:52:02 -0800 | |
---|---|---|
committer | 2019-11-12 14:52:02 -0800 | |
commit | b32f6298e289958986b68982788562f3c097f8fc (patch) | |
tree | c838443425e327474eb79565bf94bbeaad7411a9 /tests/fuzz_bytes.rs | |
parent | 856ed7c43de8eca457cc5e00b7fdcc3edeb4c52a (diff) | |
download | bytes-b32f6298e289958986b68982788562f3c097f8fc.tar.gz bytes-b32f6298e289958986b68982788562f3c097f8fc.tar.zst bytes-b32f6298e289958986b68982788562f3c097f8fc.zip |
Improve performance of `BytesMut::reserve` (#313)
Makes the short-circuit checks inline-able, and the moves the actual
reserving code to an inner function.
Diffstat (limited to 'tests/fuzz_bytes.rs')
0 files changed, 0 insertions, 0 deletions