webtorrent / bittorrent-protocol

Simple, robust, BitTorrent peer wire protocol implementation
https://webtorrent.io
MIT License
349 stars 71 forks source link

refactor: inlined xor inplace #61

Closed jimmywarting closed 3 years ago

jimmywarting commented 3 years ago

less dependency on safe-buffer

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update [ ] Bug fix [ ] New feature [x] Other, please explain: https://github.com/brave/brave-browser/issues/5490

What changes did you make? (Give an overview) Inlined xor/inplace

Which issue (if any) does this pull request address? closes #60

Is there anything you'd like reviewers to focus on? The first buffer is now mutated (just a.heads up) (fewer allocation)

webtorrent-bot commented 3 years ago

:tada: This PR is included in version 3.4.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: