[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Style question
--- John Camerin <jcamerin@getthere.com> wrote:
> The reason for the increased performance when declaring the size
> variable
> prior to the loop is that the time to call a method is about 2 to 3
> times
> greater than the time to get a local variable.
Yes, I was well aware that it was faster. There was a lot of
discussion after the fact of the initial question about it, so I
decided to test it explicitly mainly to see how MUCH faster it was.
=====
--
Yahoo IM: michael_s_campbell
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/