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

⚡ use smallvec for better performance #16

Open
2 tasks
jvdd opened this issue Jan 19, 2023 · 0 comments
Open
2 tasks

⚡ use smallvec for better performance #16

jvdd opened this issue Jan 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jvdd
Copy link
Member

jvdd commented Jan 19, 2023

unsure if this will improve the performance, but seems worth exploring 👀

I believe we could use smallvec to write the output (usize array) of the downsampling methdos to. Currently we use Array1, but using smallvec could result in a performance boost 🙏

TODOs


Credits to this PR, from which I borrowed this idea!

@jvdd jvdd added the enhancement New feature or request label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant