| 532 | } |
| 533 | |
| 534 | type BigIntPool struct { |
| 535 | mu sync.Mutex |
| 536 | free []*big.Int |
| 537 | maxSize int |
| 538 | } |
| 539 | |
| 540 | // NewBigIntPool() constructs a big int pool |
| 541 | func NewBigIntPool() *BigIntPool { |
nothing calls this directly
no outgoing calls
no test coverage detected