You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bench/README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,27 +45,27 @@ Apple M1 • Go 1.26.1 • [details](./bytes/README.md#buffer)
45
45
46
46
### Int keys
47
47
48
-
So lookups are 3.4x faster than Go, while modifications are 1.6x slower.
48
+
For heap-allocated maps, So is ~1.4x faster than Go across all operations.
49
49
50
-
So's built-in map is faster than Go's, but I wouldn't call it the winner because it's only useful in certain situations — it's fixed size and stack-allocated.
50
+
So's built-in map is even faster, but it's only useful in certain situations — it's fixed size and stack-allocated.
51
51
52
52
| Benchmark | Go | So (mimalloc) | So (arena) | So (built-in) | Winner |
0 commit comments