Nope, it's a great idea but it's slower on my hardware.
git clone https://github.com/nbd-wtf/go-nostr
cd go-nostr
go test -bench=BenchmarkParseMessage -run=NothingAtAll -v
Please run this and let me know if the "simd" variant is faster or slower than the "golang" variant. From my tests one or the other will be many times faster than the other depending on the machine, I don't understand why, so maybe we can get some patterns. Thank you.
Discussion
No replies yet.