Brussels / 1 & 2 February 2025

schedule

Swiss Maps in Go


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? * New SIMD (single-instruction, multiple-data) support in the compiler. * How the Go project benchmarked the new maps. * Performance results from real-world applications. * Gotchas and caveats.

Speakers

Photo of Bryan Boreham Bryan Boreham

Links