mirror of
https://github.com/tmrts/go-patterns.git
synced 2024-11-21 20:46:08 +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