Colin McMillen on Nostr: The only annoyance is that it requires 4kB of memory to store the compressed data ...
The only annoyance is that it requires 4kB of memory to store the compressed data before decompressing it in one go. I should look into making it work with a 1kB buffer and decompressing in multiple reads. That's probably not obvious.
{
"id":"0adacfa7378b44f7d70087b7220d630cd0c9d5fda3a17339065c769b3c58a037",
"pubkey":"3780bcc13e64f029539c8c15d98b47bb011fafd3d614ba971b53caf954946e52",
"created_at":1741639542,
"kind":1,
"tags": [
[
"e",
"e51b497a9b9fada3c75bf778bb01d274392101c7f2356e389e9929a82e59f590",
"",
"root",
"3780bcc13e64f029539c8c15d98b47bb011fafd3d614ba971b53caf954946e52"
],
[
"p",
"b08fc68f209cb6897d658b3df856f341edc97d17715bc4d20c5f21b015b5e2cf"
],
[
"e",
"083262a9c7d6a7bd9ff553bdf1a6f65436a96269e4dd7dd872a50168237da4ea",
"",
"reply",
"3780bcc13e64f029539c8c15d98b47bb011fafd3d614ba971b53caf954946e52"
],
[
"proxy",
"https://piaille.fr/@colin_mcmillen/114140089056147571",
"web"
],
[
"p",
"14005f46327faac86af3f09548f96f284ba0433d37edb3f2d9a549f721bed279"
],
[
"p",
"3780bcc13e64f029539c8c15d98b47bb011fafd3d614ba971b53caf954946e52"
],
[
"proxy",
"https://piaille.fr/users/colin_mcmillen/statuses/114140089056147571",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://piaille.fr/users/colin_mcmillen/statuses/114140089056147571",
"pink.momostr"
],
[
"-"
]
],
"content":"The only annoyance is that it requires 4kB of memory to store the compressed data before decompressing it in one go.\nI should look into making it work with a 1kB buffer and decompressing in multiple reads. That's probably not obvious.",
"sig":"74fd4c3b6ceccdd33057bf481a14cad7a220fa05e32f210a8f000bf06c4c1e45cfba20609fb54badbd440ea5f05d08063a00598de7f9a178f0695ce365c8bfae"
}