Re: tapestry critique
"Howard M. Lewis Ship" <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <067601c2a4f7$e294b8b0$3dc41e42@howardczkz2sl3> |
Pooling of small objects is generally a waste of time. Pooling of expensive objects is still a good idea. There's a lot of work involved in instantiating a page. In addition, the objects on the page "tune" themselves as they operate. ----- Original Message ----- From: "Christian Sell" <[email protected]> To: "Mindbridge" <[email protected]> Cc: "Christian Sell" <[email protected]>; "Howard M. Lewis Ship" <[email protected]>; "Tapestry-Developer" <[email protected]> Sent: Monday, December 16, 2002 6:34 AM Subject: Re: [Tapestry-developer] tapestry critique > >The creation of new objects is universally accepted as the > number one cause > >for performance problems in Java. > > That is not true, nor "universally accepted" - at least not > in the sense that pooling is a solution. Unless you have huge > objects which need extensive external resources to be > operational, the effort spent on pooling will easily and by > far exceed that for re-instantiation. After all, the JVM and > garbage collector already do a kind of pooling for you. > > regards, > Christian > ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/