This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: Bugs and Optimizations
- To: Mark DePristo <m-depristo at nwu dot edu>
- Subject: Re: Bugs and Optimizations
- From: Per Bothner <per at bothner dot com>
- Date: 28 May 2000 22:59:13 -0700
- Cc: kawa at sourceware dot cygnus dot com
- References: <14636.45838.819606.691465@pearl.ils.nwu.edu>
Mark DePristo <m-depristo@nwu.edu> writes:
> Specifically, Kawa 1.6.66 blows up on the following procedure:
>
> (define (run)
> (let loop ((i 0))
> ....
This turned out to be a problem that had been reported before,
but I neverd got around to fixing. The problem is the actual
name "run", as the name of a zero-argument procedure. This got
compiled to a method, and named "run", with zero arguments.
Unfortunately, this method clashed with an internal zero-argument
method named "run".
A work-around is to re-name "run". However, I decided to bite
the bullet and fix the bug. The latest check-in contains code that
re-names the generated method when it clashes. This seems to
fix the problem! This fix will also be in 1.6.68.
If you run benchmarks on the latest (cvs) version, I would be
interested if you notice a difference between running with or
without the new --static-module flag.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/