Skip to content

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

Open
marcus-pousette wants to merge 3 commits into
achingbrain:mainfrom
marcus-pousette:main
Open

perf: Check only if Buffer is available once and remove redundant asUint8array calls#85
marcus-pousette wants to merge 3 commits into
achingbrain:mainfrom
marcus-pousette:main

Conversation

@marcus-pousette
Copy link
Copy Markdown

@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