Vitor Pamplona on Nostr: Agree, we don't use the render path either. Though I lazy load/compute the additional ...
Agree, we don't use the render path either. Though I lazy load/compute the additional data structure (like the text parsing) only when the event is being placed in the same page that will be rendered. And those can be discarded individually by the GC after the event is old/not used anymore. Same for decryptions.
Don't get me wrong. I think notedeck is fast. My only concern is "at what cost" (increased disk usage, increased memory usage). Exactly by how much is very unclear right now.
Keep pushing.
Published at
2025-01-03 16:12:28Event JSON
{
"id": "79f4a66b9c1b797cb74d7c2eb5054b92ca40706b07b59bd3cad7e3836926e57a",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1735920748,
"kind": 1,
"tags": [
[
"e",
"05e7fc88045568f680a574bc24daba3e3da3815ef9d6c10c8082c3fa9e4ac742",
"",
"root"
],
[
"e",
"244c93f1f8c9cdaf43caf2b0fc4f335ad48c07b668cfdfdc4bd3d9ad75a18b5a"
],
[
"e",
"6bb596cb8cbcec9ada981465249fb72e919aa1a616a34f38c8b7c913e551c770",
"",
"reply"
],
[
"p",
"726a1e261cc6474674e8285e3951b3bb139be9a773d1acf49dc868db861a1c11"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "Agree, we don't use the render path either. Though I lazy load/compute the additional data structure (like the text parsing) only when the event is being placed in the same page that will be rendered. And those can be discarded individually by the GC after the event is old/not used anymore. Same for decryptions. \n\nDon't get me wrong. I think notedeck is fast. My only concern is \"at what cost\" (increased disk usage, increased memory usage). Exactly by how much is very unclear right now.\n\nKeep pushing.",
"sig": "7ee5e37e011425e635845de9d65e6f99d80704921794465e63de10141ce2a83e297dc7720b93ece6a535c1561128e60effb46792288eeb313696a4f9514d212f"
}