Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: inlined xor inplace #61

Merged
merged 4 commits into from
Jul 8, 2021

Conversation

jimmywarting
Copy link
Contributor

@jimmywarting jimmywarting commented Jul 4, 2021

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: brave/brave-browser#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)

less dependency on safe-buffer

closes webtorrent#60
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@alxhotel alxhotel changed the title inlined xor inplace refactor: inlined xor inplace Jul 5, 2021
@DiegoRBaquero DiegoRBaquero merged commit c7db3ad into webtorrent:master Jul 8, 2021
@webtorrent-bot
Copy link

🎉 This PR is included in version 3.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jimmywarting jimmywarting deleted the rm-buffer-xor branch July 8, 2021 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use buffer-xor/inplace.js instead of default buffer-xor
4 participants