Global Feed Post Login
Replying to Avatar jb55

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.

Avatar
bu5hm4nn 2y ago

flatbuffers

https://code.facebook.com/posts/872547912839369/improving-facebook-s-performance-on-android-with-flatbuffers/

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 2y ago

flatbuffers are nice, TLVs and flatbuffers are about the same. I would steal the null terminated string idea to make TLVs zero copy for strings.

Thread collapsed