mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
metrics: use min from go1.21 (#29307)
This commit is contained in:
parent
7f37ee2e63
commit
fd8782b2d0
1 changed files with 0 additions and 7 deletions
|
|
@ -87,13 +87,6 @@ func BenchmarkUniformSample1028(b *testing.B) {
|
|||
benchmarkSample(b, NewUniformSample(1028))
|
||||
}
|
||||
|
||||
func min(a, b int) int {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func TestExpDecaySample(t *testing.T) {
|
||||
for _, tc := range []struct {
|
||||
reservoirSize int
|
||||
|
|
|
|||
Loading…
Reference in a new issue