SIGN IN SIGN UP

Add build time optimization documentation (#3608)

This document describes techniques for reducing C++ template instantiation
overhead in the Composable Kernel codebase, including:

- Replacing recursive templates with pack expansion (O(N) → O(1) depth)
- Using named functors instead of lambdas to share instantiations
- Replacing template recursion with constexpr loops
- Using fold expressions for accumulation operations

These techniques can significantly reduce build times for template-heavy code.
M
Max Podkorytov committed
b66597ed96180ce21e7e6a6678dfc232ed07c800
Parent: 3d67e6c
Committed by GitHub <noreply@github.com> on 1/27/2026, 1:07:27 PM