Tailcall is more for its semantic value (e.g. for implementing Scheme)
than speed. It is somewhat marginal because CLI implementers do not need
to honour the tail hint (although the CLR does).

Dominic Cooney

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED]] On Behalf Of Dejan Jelovic
Sent: Thursday, 23 January 2003 10:12 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] tailcall speed

Something seems to be wrong with the way tailcall is implemented in the
.NET runtime. Instead of being faster than a regular call, it's roughly
70 percent slower.

Is this the normal state of things or have I hit on an unusual test
case?

The code I used in the benchmark can be found here:
http://www.jelovic.com/weblog/e59.htm.

Dejan

You can read messages from the Advanced DOTNET archive, unsubscribe from
Advanced DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to