Reduce memory footprint in hot code path.