Did you know that the 'map' type has a whole new implementation as of Go 1.24? Known as "Swiss Maps", they run as much as 60% faster and 25% smaller.
Originally created in 2016 as a C++ library, Swiss Map uses ingenious bit-manipulation techniques to get more throughput from your CPU.
We'll cover:
How does it work?
How do benchmarks look for the new maps?
New SIMD (single-instruction, multiple-data) support in the compiler.
Performance results from real-world applications.
Gotchas and caveats.