mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-22 12:46:03 +03:00
profiling/timing: rename big-int factorial function
This commit is contained in:
parent
e7af050223
commit
6346cf0fba
@ -25,7 +25,7 @@ func Duration(invocation time.Time, name string) {
|
||||
## Usage
|
||||
|
||||
```go
|
||||
func IntFactorial(x big.Int) *big.Int {
|
||||
func BigIntFactorial(x big.Int) *big.Int {
|
||||
defer profile.Duration(time.Now(), "IntFactorial")
|
||||
|
||||
y := big.NewInt(1)
|
||||
|
Loading…
Reference in New Issue
Block a user