mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-26 04:57:50 +00:00
Motivation: Heap allocations that aren't necessary for program correctness are to be avoided. Modifications: - Avoid heap allocating for constructing indirect enum cases. Result: Fewer heap allocations. Resolves #255. Reduces instructions executed in cachegrind server-only benchmarks by about 0.15%. Reduces icache miss rate by 3% in cachegrind due to reduced jumps to cold malloc code.