This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fibonacci and performance


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]