True, but two things.
1. WASM helps with that in the browser
2. It still takes a moment natively. If you’re trying to send out hundreds of events a second it’ll make that impossible
True, but two things.
1. WASM helps with that in the browser
2. It still takes a moment natively. If you’re trying to send out hundreds of events a second it’ll make that impossible
#[2] had said “takes a minute”. I didn’t know whether he meant a literal 60 seconds or he meant “takes a brief moment”. If it’s the latter it’s no big deal.
I’d still love to see benchmarks though.
12 bits took a little less than a minute using unoptimized JS code.
Sample code: https://observablehq.com/@jb55/nostr-playground
This is just a sample algorithm not where the benchmark should be conducted.