-
Notifications
You must be signed in to change notification settings - Fork 0
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
Secondary index cache with two-byte encoding #26
Comments
Testing some combinations of primary and secondary index cache sizes:
I like the look of ind32.2, compresses on par with the baseline ind64 but uses 31 less tags. There's also something to be said about ind16.2 if those extra 16 ops can be better used elsewhere, maybe in a variant that limits itself to MASK_2 and MASK_4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another possible opcode, QOI_OP_INDEX2. This is a two byte encoding with eight bit opcode, that acts as an index into a secondary index cache with 256 values.
Pro:
Con:
Comparison to current master build:
@phoboslab If this or any other opcode change is deemed suitable I'll do proper pull requests as and when
qoi-index2.h.txt
The text was updated successfully, but these errors were encountered: