jb55 on Nostr: one of the slowest parts of receiving lots of events on mobile is actually json ...
one of the slowest parts of receiving lots of events on mobile is actually json decoding. I wonder if it’s time to create an optimized binary transport for nostr notes. Could be a simple TLV format.
Published at
2023-04-15 13:39:37Event JSON
{
"id": "9d89ef468ec690f2177635b8c0fd589aca840de1a749a08a44de5b148654bb49",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1681565977,
"kind": 1,
"tags": [],
"content": "one of the slowest parts of receiving lots of events on mobile is actually json decoding. I wonder if it’s time to create an optimized binary transport for nostr notes. Could be a simple TLV format. ",
"sig": "e1791158f9f1681fdb6e5fd9c320bad52babf92b596c91d3ea35b3dc7488d737488ebcb19da56c20b62453e2acac67ef436091a32dd2129e49b1a30dbc791546"
}