On Thu, 2004-02-19 at 17:53, J.Pietschmann wrote:
> John Austin wrote:
> > I noticed this artcle on Developer Works:
> > 
> > Java theory and practice: Garbage collection and performance
> > http://www-106.ibm.com/developerworks/library/j-jtp01274.html
> > 
> > Something to read on Thursday.
> 
> Nice read, however, they don't talk about constructors. There

Isn't allocation the only unseen part of construction ? Everything
else is visible in the code and surely a few assignments are never
expensive. Any other expensive operations will stand out in
measurements of code execution.

> are still arguments for reusing objects and for trying to
> replace objects with a bunch of primitive values.
> (BTW a nice try selling yet-to-be-written optimizations
> regarding inlining...)

Moore's law is another optimization we sell in advance
all the time.

-- 
John Austin <[EMAIL PROTECTED]>

Reply via email to