riboseinc / id_pack

Pack UUID and integer ID sets in Ruby and JS
https://www.ribose.com
MIT License
1 stars 0 forks source link

Use `UuidPacker`'s algorithm to compress/decompress UUID in `en`/`decode_sync_str` #23

Open ribose-jeffreylau opened 7 years ago

ribose-jeffreylau commented 7 years ago

... instead of using LZString and concatenating with ,.

UuidPacker provides a better compression utility than LZString with commas.

This requires changes in both Ruby and JS implementations.

This is a breaking change so will need to bump gem's minor version when released.