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

Optimised build for sizes that are powers of 2 #75

Open
nickovs opened this issue Apr 11, 2022 · 0 comments
Open

Optimised build for sizes that are powers of 2 #75

nickovs opened this issue Apr 11, 2022 · 0 comments

Comments

@nickovs
Copy link

nickovs commented Apr 11, 2022

Currently the code allows for arbitrary numbers of samples in the input. This is great when you need it, but it requires a lot of code that remains unused when the input length is a power of 2.

It would be very helpful for users embedding this library into memory-constrained applications if there was a build option to disable support with sizes that are not powers of 2. In this configuration the kf_bfly3, kf_bfly5 and kf_bfly_generic functions could be left out altogether, which would save quite a bit of space in the binary.

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

No branches or pull requests

1 participant