No such thing as a small change | |
PerlMonks |
Re: Re: Re: Memory Use/Garbage Collection: Java vs Perlby BrowserUk (Patriarch) |
on Sep 03, 2002 at 13:35 UTC ( [id://194762]=note: print w/replies, xml ) | Need Help?? |
You make a very good point! My bad on that bit. <excuses> I did say <cite>I think...</cite> What do you expect at a Perl site? Java expertise :8^)... </excuses> Being serious for a moment, if Javac is 'doing the right thing' on that line, that just means that it's memory overhead on recursive subroutines must be even worse than I thought. 4,000 -v- 2,000,000 recursions before blowing the stack is a mind-boggling 500 times less efficient in terms of memory/stack management. I guess I was looking for a rational explanation. Note: I have made no attempt to verify the numbers Update:I have confirmed that your assertion is true when using javac from jdk1.3.1 as follows
Well It's better than the Abottoire, but Yorkshire!
In Section
Seekers of Perl Wisdom
|
|