fiatjaf on Nostr: jb55 just to clarify one thing: on nostrdb you do perform copies, right? It's all ...
jb55 (npub1xts…kk5s) just to clarify one thing: on nostrdb you do perform copies, right? It's all zero copy when querying, but once you select something from the query you must do a copy in order to use it in the UI, for example, otherwise the LMDB transaction closes and that buffer is reused and your UI becomes garbage or something like that -- or am I missing something?
Published at
2024-12-19 10:59:58Event JSON
{
"id": "00001a6555f264c86c9031d59c8071f39576ffa1a87a3af9eeda34dbcd7e07df",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1734605998,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"nonce",
"4611686018427412197",
"16"
]
],
"content": "nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s just to clarify one thing: on nostrdb you do perform copies, right? It's all zero copy when querying, but once you select something from the query you must do a copy in order to use it in the UI, for example, otherwise the LMDB transaction closes and that buffer is reused and your UI becomes garbage or something like that -- or am I missing something?",
"sig": "0b4936349f86a35297b361b52e084e5264ab352c683af1e29ed8026e988172f155c60d61b8e7c1fe9114154a3799105e6fd5c8d7b7cbc5c16a02af9bb1849ca9"
}