Compress large Integers into smallest possible string
Yes. GZIP is a compression algorithm which both requires compressible data and has an overhead (framing and dictionaries, etc). An encoding algorithm should be used instead. The “simple” method is to use base-64 encoding. That is, convert the number (which is represented as base 10 in the string) to the actual series of bytes that … Read more