An open API service indexing awesome lists of open source software.

https://github.com/detailyang/fastgcd-go

fastgcd-go implements the binary gcd in go
https://github.com/detailyang/fastgcd-go

gcd golang

Last synced: 5 months ago
JSON representation

fastgcd-go implements the binary gcd in go

Awesome Lists containing this project

README

          



fastgcd-go






fastgcd-go implements the binary gcd in go

````golang
╰─λ go test -benchtime 10s -benchmem -bench "." . goos: darwin
goarch: amd64
pkg: github.com/detailyang/fastgcd-go
BenchmarkVanillaGCD-8 100000000 251 ns/op 16 B/op 2 allocs/op
BenchmarkGCD-8 100000000 221 ns/op 0 B/op 0 allocs/op
BenchmarkBinaryGCD-8 100000000 146 ns/op 0 B/op 0 allocs/op
PASS
ok github.com/detailyang/fastgcd-go 68.778s
````