mleku on Nostr: i can reserve the option of later changing it again but just following the same ...
i can reserve the option of later changing it again but just following the same pattern i used to do protobuf should be easy to make the same thing... the only extra overhead it does is copying out the slice headers of the benc formatted structure and allocating/copying into the "native" realy style
Published at
2024-11-16 11:58:46Event JSON
{
"id": "70d2a791aa327b511cc9df5b20be3f41280a53e50e9a25d0d274e3c15bbbc872",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1731758326,
"kind": 1,
"tags": [
[
"e",
"fb804add080068b4b6695d2b1d3acd31bf2e113998f92b6922500ff295ffb2e6",
"wss://nostr.land/",
"root"
],
[
"e",
"614fb55771c5bb339b23c3afd3930c97666b0bb89dbd0a948a78f2d5f8a6e02f",
"wss://nostr.land/",
"reply"
],
[
"p",
"8633073b8567da97ad119fedd9716154aa283234cbb7d28d5131daa077d1cf7a",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "i can reserve the option of later changing it again but just following the same pattern i used to do protobuf should be easy to make the same thing... the only extra overhead it does is copying out the slice headers of the benc formatted structure and allocating/copying into the \"native\" realy style",
"sig": "c72e642b264f8c9e959fe3262da63a280735f32f499f83046ca060e47726b12cbb51c52f7141fe71655366305d177ee8ee7658233965650ffccc53048b6a53d4"
}