HackerTrans
トップ新着トレンドコメント過去質問紹介求人

babyloneleven

no profile record

コメント

babyloneleven
·7 年前·議論
I'm not finding how to edit, but, it's called escape analysis
babyloneleven
·7 年前·議論
Compilers of managed languages already do this optimization when they can prove that a variable has a static lifetime. Look up scape analysis.

The trouble is, this is hard to do for non-trivial code (and in the general case is uncomputable).