cfcosta on Nostr: Usually the answer is not loading them at all, or if you do, not building objects for ...
Usually the answer is not loading them at all, or if you do, not building objects for everything. Usually splitting into arrays of structs instead of structs of arrays also helps, as you can vectorize better (not sure if NEON is available for cellphones though)
Published at
2023-03-08 17:20:17Event JSON
{
"id": "f532daf33e91e8a3f02cadcf8c13151c9e833ac7a5b5a0c0d4352ed5371387d2",
"pubkey": "cfa3df9203c440a5b94b1f863094e683412ce9d422a7f99c5346e43fe2001d92",
"created_at": 1678296017,
"kind": 1,
"tags": [
[
"e",
"a0992fc66ec6e2d6e9ee888f1e28b9ef0add52fcb526512a9973c079ec28c109"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "Usually the answer is not loading them at all, or if you do, not building objects for everything. Usually splitting into arrays of structs instead of structs of arrays also helps, as you can vectorize better (not sure if NEON is available for cellphones though)",
"sig": "fa1ca0bbea46303995c83de064011ee149d05079d5659c8842f4c63862e2f585af21ec9580b8f377566f766e8c4884af3b292f85ab8ba0b32c6b683253d85d49"
}