aboutsummaryrefslogtreecommitdiffstats
path: root/common/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/common.go')
-rw-r--r--common/common.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/common.go b/common/common.go
index 6c5a69d18..53709bb72 100644
--- a/common/common.go
+++ b/common/common.go
@@ -2,23 +2,9 @@ package common
import (
"fmt"
- "math/big"
"time"
)
-// Common big integers often used
-var (
- Big1 = big.NewInt(1)
- Big2 = big.NewInt(2)
- Big3 = big.NewInt(3)
- Big0 = big.NewInt(0)
- BigTrue = Big1
- BigFalse = Big0
- Big32 = big.NewInt(32)
- Big256 = big.NewInt(0xff)
- Big257 = big.NewInt(257)
-)
-
func Bench(pre string, cb func()) {
start := time.Now()
cb()