Problem with --full-tailcalls using CVS

Per Bothner per@bothner.com
Fri Dec 20 10:36:00 GMT 2002


Jim White wrote:
> Found a problem with --full-tailcalls with the CVS version of Kawa:

I checked in to CVS the attached patch.

> Been doing some benchmarking and there is a big speed improvement from 
> the 1.6.99 release to the current CVS for normal code (computing 
> Sterling numbers, lots of numeric computation and arrays).  Huge hit 
> from turning on --full-tailcalls (one-half to one-third the speed) 
> either way though.

Yes.  While I expect --full-tailcalls to be slower, it could probably
be optimized quite a bit.  However, before doing that I'd like to
get a handle on precisely how it should be modified to handle
(a) full continuations, and
(b) generic (or multi-) methods.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ConsumerTarget.patch
URL: <http://sourceware.org/pipermail/kawa/attachments/20021220/f1956cf8/attachment.ksh>


More information about the Kawa mailing list