Skip to content

Releases: go-mixed/gos

v1.0.3

07 Jan 12:54
Compare
Choose a tag to compare

Run go file/project

gos main.go -- args

gos main.gop -- args

gos /path/to -- args

fib(35):

  • gos v1.0.3: 2688ms
  • golang v1.22: 54ms
func fib(x int64) int64 {
	if x == 0 {
		return 0
	} else if x == 1 {
		return 1
	}
	return fib(x-1) + fib(x-2)
}
fib(35)