matt on Nostr: Does it count as zero-copy if you’re pushing references onto a heap-allocated ...
Does it count as zero-copy if you’re pushing references onto a heap-allocated struct? Use inline or bust :)
Published at
2023-07-03 00:18:14Event JSON
{
"id": "2657b0de4040b494d1c9da8052f258dc89cc2f566262612e8bae6d47d23fc3e9",
"pubkey": "3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594",
"created_at": 1688343494,
"kind": 1,
"tags": [
[
"e",
"7e1dd920c2535a50d186195e66184faca55ef2a8144ddc945bc5fb60bf3b029a"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "Does it count as zero-copy if you’re pushing references onto a heap-allocated struct? Use inline or bust :)",
"sig": "cac0011fdb057399790c15aa83ab96d668c96b3127e50a3982b4cade63607f06828aedc1081e3119f89c4369dd443a85c34bc50f8159061b1784519a525950e1"
}