Go 1.27 Specializes Small Allocations for Up to 30% Faster mallocs
Go 1.27 specializes allocation paths for objects under 80 bytes, emitting span-class-specific malloc functions while retaining generic fallbacks. Small allocations improve by up to 20–30%, although whole-program gains are around 1% and constrained by instruction-cache tradeoffs.
🔗 go.dev
#go #runtime #performance
Post #317
410

- 🔥 5
- ❤ 1
- 👍 1