Oddbean new post about | logout
 Yes, 💯. I keep fighting json crapola on HAMSTR. Ended up compressing and serializing for now. 
 write a codec. simple

in my nostr codec it decodes all the nasty hexadecimal fields (p tags, e tags, a tags) into raw binary for internal use to save memory and speed up matching, and this is also then transformed to the binary format used by the database

all you have to do is write one good codec and done, modularity solves the problem 
 You lost me at write a code. 😂 
 structure is already there, i just wrote a thing that converts between one format and another, in a way that is far more efficient than what fiatjaf wrote with go-nostr 
 Ah. Gotcha