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

[kosha] Explore different bitfield orderings #9

Open
akprasad opened this issue Dec 27, 2022 · 0 comments
Open

[kosha] Explore different bitfield orderings #9

akprasad opened this issue Dec 27, 2022 · 0 comments
Labels
performance Enhancement that improves performance without changing functionality

Comments

@akprasad
Copy link
Contributor

akprasad commented Dec 27, 2022

In packing, I chose a bitfield ordering more or less on a hunch, but I don't think our current ordering works very well because our modular_bitfield crate uses an endianness that's different from what I expected.

I think a better ordering or approach here could potentially decrease the size of the FST. My guess is that we might save up to 10% on size, which means more of the FST can be kept in the processor cache.

A good PR here should quantify the size decrease when using a different bitfield ordering.

@akprasad akprasad added the performance Enhancement that improves performance without changing functionality label Dec 27, 2022
@akprasad akprasad changed the title Explore different bitfield orderings in vidyut-kosha [kosha] Explore different bitfield orderings Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Enhancement that improves performance without changing functionality
Projects
None yet
Development

No branches or pull requests

1 participant