There may be better compression possible. But that will depend on how much repetition there is of substring. Assuming the string isn't some trivial length, you could try to see how much bzip2 or gzip (or your favourite compression program) compresses the string (I would do this after doing the 75% savings trick from above).
In reply to Re: string to more compact format
by JavaFan
in thread string to more compact format
by Boetsie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |