- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDeferDeleteSlow (0.21 sec)
-
src/runtime/map_test.go
b.Run("Str", runWith(benchmarkMapDeleteStr, 100, 1000, 10000)) b.Run("Pointer", runWith(benchmarkMapDeletePointer, 100, 1000, 10000)) } func TestDeferDeleteSlow(t *testing.T) { ks := []complex128{0, 1, 2, 3} m := make(map[any]int) for i, k := range ks { m[k] = i } if len(m) != len(ks) { t.Errorf("want %d elements, got %d", len(ks), len(m))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0)