The comment confuses me a bit: Since you are dividing the number of _bits_ per 10 although this method should return bytes, I guess you meant "Estimate about 0.8 (8 / 10) compression ratio for numbers..." (given that a byte is 8 bits)?