I have a string like this:
And I'm sure it's following these rules below:
- No number will be bigger than 999, that means they are all 1,2 or 3 digits number.
Are there any simple algorithms that I can have to compress/decompress the data?
For instance, a very stupid way I can think is to convert each number into base-16 or even base base-36 numbers.