Closed tonobo closed 8 years ago
Snappy (and most compression formats) do not effectively compress very short strings, because they exploit repeating patterns in the input.
Ahh, ok. But iam using it right?
Yes. You can also check decode the compressed data to make sure it matches the input. https://play.golang.org/p/CY7qYrMW1I
Hi, why is the encoded (compressed) string larger than the original? https://play.golang.org/p/J7iL2AwQ37