This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Fibonacci and performance
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Fibonacci and performance
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 27 Apr 2001 10:47:18 -0700 (PDT)
- cc: Per Bothner <per at bothner dot com>, Java Discuss List <java at gcc dot gnu dot org>
On 27 Apr 2001, Tom Tromey wrote:
> Nope, Fib.fib is initializing the Fib class over and over. I don't
> know if we test for this situation or not, but I assume not. I guess
> this would only affect recursive calls.
It would affect all calls to methods in the same class, right? Those are
actually quite common.
Jeff