|
|
|
|
|
by kllrnohj
1414 days ago
|
|
> which a compiler obviously sees Not if it's in a different compilation unit, it doesn't. Or if it's just not inlining the function for some reason, then it probably also doesn't. Which is why Carbon's restriction here is so useful and practical. |
|
I'm assuming its a different TU or something else that prevents inter procedural optimization. Could you give some examples where this allows performance wins?