Skip to content
Snippets Groups Projects
  • Carl Lerche's avatar
    cf5a1bc4
    Rewrite `Bytes` / `BytesMut` core implementation · cf5a1bc4
    Carl Lerche authored
    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.
    cf5a1bc4
    History
    Rewrite `Bytes` / `BytesMut` core implementation
    Carl Lerche authored
    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 project manages its dependencies using Cargo. Learn more