Swiss Maps in Go
- Track: Go
- Room: UD2.120 (Chavanne)
- Day: Saturday
- Start: 11:30
- End: 12:00
- Video only: ud2120
- Chat: Join the conversation!
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
Bryan Boreham |