読者です 読者をやめる 読者になる 読者になる

tail. prefix internal

.NET

なにげに凄いことが書いてある.
CLR の Jitter は 64 bit バージョンの方がラジカルな最適化を行うと聞いていたけど,まさか自動 tail call 化をやってたとは.

In fact, on 64-bit platforms, the CLR tries to do tail calls even if the tail. prefix is not specified. This is because platform-independent IL programs will get the same amount of stack space reserved for them by the OS, even though the 64-bit process will consume stack at a faster rate. Hence, we try to reduce stack usage by doing tail calls.

次に PC 買うときは 64 bit の OS 入れたいなぁ.