3 ms·
As a starting point, I've written a library for storing strings: https://gist.github.com/andreparames/c19f87fbe48ee8819f9ef098c8eeb5ee https://gist.github.com/a
by icebraining 11y ago
As a starting point, I've written a library for storing strings: https://gist.github.com/andreparames/c19f87fbe48ee8819f9ef098c8eeb5ee https://gist.github.com/andreparames/c19f87fbe48ee8819f9ef09...
Usage:
>>> ids = storestr('Hello, world!')
>>> print getstr(ids)
'Hello, world!'
In my tests, the compression rate is approximately -36x.