What is Nostr?
laanwj /
npub1p23…rnl6
2024-10-05 08:10:23
in reply to nevent1q…lsud

laanwj on Nostr: i'm not sure-AFAIK, the protocol sends only one event per message deflate is very ...

i'm not sure-AFAIK, the protocol sends only one event per message

deflate is very good in catching repeated text within a message, compressed JSON will get pretty close to a naively implemented binary protocol, for large data
it's also very fast

with lots of small messages it will be less effective because the same text repeated over and over won't be compressed, this would ideally need some kind of shared dictionary like HTTP2's header compression
Author Public Key
npub1p23eukh0nxsqpfaakz6fj9vvj27y4gs0kevnrffdq4d4adkl7uuq7crnl6