-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Hi Radu,
I have just started a new project BaseXX:
https://github.com/teal-finance/BaseXX
This is very similar to what you did. 😄
I have selected another Base58 project that is faster than the one you choose as original work. You can run the benchmark on your computer, BaseXX is about five times faster:
go test -run=NO -bench=. -benchmem github.com/teal-finance/BaseXX/base92
goos: linux
goarch: amd64
pkg: github.com/teal-finance/BaseXX/base92
cpu: AMD Ryzen 9 3900X 12-Core Processor
BenchmarkEncode-24 1000000 1944 ns/op 96 B/op 2 allocs/op
BenchmarkEncodeSmartgoBase92-24 135556 8722 ns/op 1377 B/op 78 allocs/op
BenchmarkDecode-24 1794903 673.5 ns/op 122 B/op 2 allocs/op
BenchmarkDecodeSmartgoBase92-24 339506 3496 ns/op 232 B/op 8 allocs/op
PASS
ok github.com/teal-finance/BaseXX/base92 6.404s
Have fun 😀
Metadata
Metadata
Assignees
Labels
No labels