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

Have a light scalar implementation #20

Open
fulmicoton opened this issue Sep 6, 2019 · 2 comments
Open

Have a light scalar implementation #20

fulmicoton opened this issue Sep 6, 2019 · 2 comments

Comments

@fulmicoton
Copy link
Contributor

fulmicoton commented Sep 6, 2019

The current implementations generate large binaries because they have one specialized implementation for each bitwidth, and do loop unrolling.

Add a flag-enabled implementation that uses a more compact scalar implementation. This would be useful for web assembly for instance.

@riemass
Copy link

riemass commented Oct 15, 2019

Hello, could you elaborate a bit more about this task?
If I get it correctly, one simpler implementation should take care of bit packing. Should it cover all bit widths or have some generic parameter to specify the width?
Cargo config should in compile time decide which one to compile.

@fulmicoton
Copy link
Contributor Author

All bit width from 0 to 32 included, but it should be a single method for all bit width (the bitwidth would come as an argument), and have no loop-unrolling.

Cargo config should in compile time decide which one to compile.

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants