4 ms·
I did something similar, but compressed with pako to make the URL as short as possible: https://www.pokerregion.com/?r=Y2RwYBBgYGFkcGAQYGBhZHBgEGBgYQQA https://
by kissgyorgy 4y ago
I did something similar, but compressed with pako to make the URL as short as possible: https://www.pokerregion.com/?r=Y2RwYBBgYGFkcGAQYGBhZHBgEGBgYQQA https://www.pokerregion.com/?r=Y2RwYBBgYGFkcGAQYGBhZHBgEGBgY...
Here is the compression code: https://gist.github.com/kissgyorgy/39623a7d0ba2f6faafb464b72a1d412d https://gist.github.com/kissgyorgy/39623a7d0ba2f6faafb464b72...
I used the properties of my data structure (multiple cards represented in a byte as bits) to represent the same data on less bytes (to avoid compressing JSON with unnecessary characters)