invertedtomato / packing

Library for encoding integers in the minimal number of bits. Includes VLQ and Elias Omega encoding.
MIT License
76 stars 6 forks source link

Would you accept comprison tests #9

Closed dzmitry-lahoda closed 5 years ago

dzmitry-lahoda commented 5 years ago

https://github.com/invertedtomato/integer-compression#elias-omega

States that is good for under 8 values, but on graph fibonacci seems better.

Would you accept test showing when one codec is strictly better than other? I like to compare fibonacci thomson and elias omega. I.e. when we define in game limits for values, I can use different codec depending on limits.

invertedtomato commented 5 years ago

I agree. I meant not to say that it was the best for <8, but it does OK. Whilst an interesting algorithm, I wouldn't use Elias-Omega for anything practical!