mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-22 00:00:15 +02:00
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.
This commit is contained in:
@@ -20,3 +20,6 @@ exclude = [
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.0.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-core = "0.1.0"
|
||||
|
||||
Reference in New Issue
Block a user