t on Nostr: nostr-kit data structures are always smaller in memory than their serialized JSON ...
nostr-kit data structures are always smaller in memory than their serialized JSON representations.
this means that data flowing off the parser is smaller than when it arrived on the network.
just because nostr is a string-based info scheme doesn’t mean our libraries should be.
Published at
2023-07-03 15:46:34Event JSON
{
"id": "681c1bd9dca9804cee87e834722f546db69e5c3f23228d7917b91c9980d49de0",
"pubkey": "2ef0fccfd5a55e36bc8be3a525c1ce97f20eabaa94e69d82febfd641d9480c35",
"created_at": 1688399194,
"kind": 1,
"tags": [],
"content": "nostr-kit data structures are always smaller in memory than their serialized JSON representations.\n\nthis means that data flowing off the parser is smaller than when it arrived on the network.\n\njust because nostr is a string-based info scheme doesn’t mean our libraries should be.",
"sig": "87c4245ede0a375b6dd61d42eba25bad2ed28b4484d252fd45aad568e2dce3b55f3590c2585b8a7b16b96b8b9cb310caaed544a919cac8cc5a12fa8b7a983833"
}