-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to select appropriate number of bits for precision? #9
Comments
from my own reading and experimentation, i'm finding that-
haven't investigated performance implications. |
Check out the “Constraints on the Implementation” section from the paper referenced in the read me. It discusses choosing values and limitations of precision. https://web.stanford.edu/class/ee398a/handouts/papers/WittenACM87ArithmCoding.pdf |
Thank you for the reference! Unfortunately that article doesn't add much that's new-
still doesn't say anything about the rate of trade-off between precision and other factors. For example, why not use For my own implementation i've chose to set the precision automatically (to the maximum value), and panic if there's not enough bits to guarantee no overflow/underflow. Considering also making the integer representation a generic, so you could effectively choose I'm also interested in experimenting to see whether this can be checked at compile time using const generics... (hopefully without polluting the API too badly) |
Hey sorry I went so absent on this project have not been keeping up. I just want to drop a link to this https://github.com/Cyan4973/FiniteStateEntropy If you are still interested in lossless probability symbol coders. Very very fast and the ANS version is as good as AC but much faster. AFAIK lacks updating symbol table per encode? |
How do you select an appropriate number of bits to use for precision?
Related stack overflow question - https://stackoverflow.com/questions/71509576/what-is-the-optimum-precision-to-use-in-an-arithmetic-encoder
The text was updated successfully, but these errors were encountered: