(b *testing.B)
| 1420 | } |
| 1421 | |
| 1422 | func BenchmarkMap_Set(b *testing.B) { |
| 1423 | b.ReportAllocs() |
| 1424 | m := NewMap[int, int](nil) |
| 1425 | for i := 0; i < b.N; i++ { |
| 1426 | m = m.Set(i, i) |
| 1427 | } |
| 1428 | } |
| 1429 | |
| 1430 | func BenchmarkMap_Delete(b *testing.B) { |
| 1431 | const n = 10000000 |
nothing calls this directly
no test coverage detected
searching dependent graphs…