I've been using tail. calls in my recent IL project and today I came across this
post. If you go through it, you can see the performance differencies between call vs. tail. call instructions and the proof that the tail calls are barely optimized by .NET JITer. What a shame! Not only that the tail. calls are slow under .NET, but VS disassembly
view lies you about the actual jitted code! Hope they'll improve the performance in .NET v4.0 (still dislike that v3.0 mess )
One may wonder what other things VS lies about...
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.