Size-Specialized Memory Allocation - The Go Programming Language
- Go 1.27 includes faster memory allocation for allocations of 80 bytes or fewer.
- Allocations can be up to 20-30% faster, making allocation-heavy programs up to 1% faster.
- The Go runtime improves the performance of those allocations by adding specialized functions that are used to allocate certain sizes.
Unverified
- Go 1.27 includes faster memory allocation for allocations of 80 bytes or fewer.
- Allocations can be up to 20-30% faster, making allocation-heavy programs up to 1% faster.
- The Go runtime improves the performance of those allocations by adding specialized functions that are used to allocate certain sizes.
Sources: Go