Hacker News new | ask | show | jobs
by bozey07 755 days ago
What gave you that impression? I tried spamming "a" and the URL indeed did not get longer.

Reassuringly:

   function serialize(value) {
        if (value === '') { return ''; }
        const data = new TextEncoder().encode(value);
        const compressed = pako.deflate(data, { level: 9 });
        return Base64.fromUint8Array(compressed, true);
    }
1 comments

it does get longer. rather than typing in aaaa copy and paste it and copy and paste that to grow exponentially