Replying to Avatar کیهان

goos: linux

goarch: amd64

pkg: github.com/nbd-wtf/go-nostr

cpu: 12th Gen Intel(R) Core(TM) i3-12100F

BenchmarkParseMessage

BenchmarkParseMessage/golang

BenchmarkParseMessage/golang-8 162 6665196 ns/op

BenchmarkParseMessage/simdjson

BenchmarkParseMessage/simdjson-8 28 43713545 ns/op

PASS

ok github.com/nbd-wtf/go-nostr 3.138s

i was not aware of simdjson on go...

but it seems its for 2 years ago. forking it? you do it or i can go for it?

also, these stuff like simdjson and linsecp245k1 in golang has a lot of overhead, what is your opinion?

Avatar
fiatjaf 10mo ago

Why fork it? Why? What are you going to change in it?

Reply to this note

Please Login to reply.

Discussion

Avatar
YODA 10mo ago

CHANGE WHAT, FIRST KNOW YOU MUST. THEN, FORK YOU WILL. HMMM?

Thread collapsed
Avatar
کیهان 10mo ago

last update is 2 years ago. not up to date with main simdjson library...

Avatar
fiatjaf 10mo ago

JSON hasn't changed much in this period.

Avatar
کیهان 10mo ago

what about simdjosn library? 🤔

Avatar
کیهان 10mo ago

https://github.com/simdjson/simdjson

lot of commits since then.

Thread collapsed
Thread collapsed
Thread collapsed
Thread collapsed