Skip to content

Use bytes crate for zerocopy and memory re-use#182

Merged
ikatson merged 4 commits intomainfrom
use-bytes-crate
Aug 14, 2024
Merged

Use bytes crate for zerocopy and memory re-use#182
ikatson merged 4 commits intomainfrom
use-bytes-crate

Conversation

@ikatson
Copy link
Owner

@ikatson ikatson commented Aug 14, 2024

There's a lot of references into torrent metadata everywhere, and this lets us have just one Bytes instance for the whole thing, while all strings and other blobs just reference into it.

@ikatson ikatson merged commit c7ed475 into main Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant