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

perf: Check only if Buffer is available once and remove redundant asUint8array calls #85

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

marcus-pousette
Copy link

@marcus-pousette marcus-pousette commented Jan 26, 2024

Hello @achingbrain !

Some perf improvements. It is hard too really notice big benchmark changes because you have to run them for long, but it looks like 5% maybe (?) on my machine. I get a lot of variance even if I run with high sample size

@marcus-pousette marcus-pousette changed the title perf: Check only if Buffer is available once perf: Check only if Buffer is available once and remove redundant asUint8array calls Jan 26, 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