- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkMapPop100 (0.12 sec)
-
src/runtime/map_test.go
for j := 0; j < n; j++ { // Use iterator to pop an element. // We want this to be fast, see issue 8412. for k := range m { delete(m, k) break } } } } func BenchmarkMapPop100(b *testing.B) { benchmarkMapPop(b, 100) } func BenchmarkMapPop1000(b *testing.B) { benchmarkMapPop(b, 1000) } func BenchmarkMapPop10000(b *testing.B) { benchmarkMapPop(b, 10000) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0)