Skip to content

Performance enhancement #1

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

Merged
merged 1 commit into from
May 5, 2021
Merged

Performance enhancement #1

merged 1 commit into from
May 5, 2021

Conversation

Seranicio
Copy link

@Seranicio Seranicio commented May 5, 2021

This patch contains performance enhancement that are noticeable only when dealing with big data.

  • Added fract argument in case user already used computed original 'arr' to Float32Array.
  • Removed re-setting values to Float32Array in 'float32' function.
  • In case array provided to 'fract32' is already Float32Array a 0 value array is returned.
  • Fixed deprecated tests and added a new test

@Seranicio Seranicio changed the title Add more performance and fix tests Performance enhancement May 5, 2021
@dy
Copy link
Owner

dy commented May 5, 2021

Nice! Thank you!

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.

2 participants