-
- Downloads
Rewrite `Bytes` / `BytesMut` core implementation
The previous implementation didn't factor in a single `Bytes` handle being stored in an `Arc`. This new implementation correctly impelments both `Bytes` and `BytesMut` such that both are `Sync`. The rewrite also increases the number of bytes that can be stored inline.
Showing
- .travis.yml 44 additions, 18 deletions.travis.yml
- Cargo.toml 3 additions, 0 deletionsCargo.toml
- benches/vs_easy_buf.rs 210 additions, 0 deletionsbenches/vs_easy_buf.rs
- ci/before_deploy.ps1 23 additions, 0 deletionsci/before_deploy.ps1
- ci/before_deploy.sh 33 additions, 0 deletionsci/before_deploy.sh
- ci/install.sh 31 additions, 0 deletionsci/install.sh
- ci/script.sh 18 additions, 0 deletionsci/script.sh
- src/bytes.rs 697 additions, 423 deletionssrc/bytes.rs
- tests/test_bytes.rs 100 additions, 34 deletionstests/test_bytes.rs
Loading
Please register or sign in to comment