The code is at https://github.com/fiatjaf/nostr-json-benchmarks
(as you can see, the "leaner" codec is much faster than anything else when running on Go.)
The javascript code does not seem optimal.
Avoid using ‘data.buffer.slice()’ as it allocates memory and creates a copy.
Have you tried using ‘new DataView(data.buffer, byteOffset, byteLength)’ to reference the same buffer?
If you need more performance, you may also use ‘new Uint8Array(data.buffer, byteOffset, length)’ which is common practice.
The code is at https://github.com/fiatjaf/nostr-json-benchmarks
(as you can see, the "leaner" codec is much faster than anything else when running on Go.)
The is code does not seem optimal.
Avoid using ‘data.buffer.slice()’ as it allocates memory and creates a copy.
Instead use ‘new DataView(data.buffer, byteOffset, byteLength)’ to reference the same buffer.
Actually it is pretty close.
Just need "event.sig" (of event.id) like kind 1.
Also "?cipher=aes-gcm" and "?ePubKey=
#[3] #[4] Thoughts?
Night Crowd @ Suara Festival Bali
#grownostr #festival

Lively Disco Africa @ Suara Festival Bali
#grownostr #festival #video
https://nostr.build/av/1b767d0e50b85fde9be0a2815d5674be0d931c8702f5e4248398876da7137451.mov
Lively Disco Africa @ Suara Festival Bali
#grownostr #festival #video 
Disco Africa @ Suara Festival Bali
#grownostr #festival 
Eco Architecture @ Suara Festival Bali
#grownostr #festival #architecture

Spa Market @ Suara Festival Bali
#grownostr #festival 
Boys getting Gelato @ Suara Festival Bali
#grownostr #festival https://nostr.build/av/3fee460ae6372f55701a4df54bd2120ee32ff3adf5cd8e227d7dee815e32bc08.mov
Crowd @ Suara Festival Bali
#grownostr #festival 
Crowd @ Suara Festival Bali
#grownostr
Drink bar @ Suara Festival Bali
#grownostr #suarafestival 
ZeroX @ Suara Festival Bali
#grownostr #suarafestival 
There is no inflation if everything is priced in BTC?
Are things more expensive now in BTC terms?
Can't wait. How many seconds to cancel a zap?
Ivan on Tech finds correlation between meme coins pumping and BTC dumping