Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Created February 5, 2021 12:59
Benchmark Type ns/op B/op allocs/op Fixed-size
Insert Map[interface]int 3730206 1318557 10380 no
Insert Map[int]int 1632196 879007 381 no
Insert Map[int]int 857588 1569 0 yes
Insert []int 75388 451883 0 no
Insert []int 7246 0 0 yes
Select Map[int]int 507843 0 0 yes
Select []int 2866 0 0 yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment