We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice if I instead of doing this:
ws.send(buf.slice(0, 16)
could do something like:
ws.send(buf, 0, 16)
Skipping the extra Buffer allocation.
The text was updated successfully, but these errors were encountered:
new Uint8Array(buffer, byteOffset, length);
Sorry, something went wrong.
I was thinking of avoiding that allocation.
maybe nano optimization
Yeah if allocating a view is a concern then why the heck are you even using JavaScript
No branches or pull requests
It would be nice if I instead of doing this:
could do something like:
Skipping the extra Buffer allocation.
The text was updated successfully, but these errors were encountered: