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

Generic encoders: use 12-bit lookup table #64

Closed
aklomp opened this issue Dec 3, 2019 · 0 comments
Closed

Generic encoders: use 12-bit lookup table #64

aklomp opened this issue Dec 3, 2019 · 0 comments

Comments

@aklomp
Copy link
Owner

aklomp commented Dec 3, 2019

Switch from a 6-bit lookup table to a 12-bit lookup table in the Generic32 and Generic64 encoders. Some quick tests show that halving the memory accesses greatly increases performance, at the cost of a larger lookup table (4096 bytes). Not a hard tradeoff.

Tables can be generated with a small Python script. Tables differ for little-endian and big-endian architectures.

aklomp added a commit that referenced this issue Dec 29, 2019
Switch from a 6-bit lookup table to a 12-bit lookup table in the
Generic32 and Generic64 encoders. Some quick tests show that halving the
memory accesses greatly increases performance, at the cost of a larger
lookup table (4096 bytes). Not a hard tradeoff.

Tables can be generated with a small Python script. Tables differ for
little-endian and big-endian architectures.
@aklomp aklomp closed this as completed Dec 29, 2019
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