[cp-patches] FYI: Implemented an ObjectPool

2005-07-01 Thread Roman Kennke
I implemented and added an ObjectPool class. This should help improve performance in Swing (and other areas). In Swing we make heavy use of Point Dimension and Rectangle. Usually these objects are created to wrap some integer values and are discarded quickly. This would create overload for

Re: [cp-patches] FYI: Implemented an ObjectPool

2005-07-01 Thread Robert Schuster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, I have seen this class was removed now. So forget about this mail :) cu Robert Robert Schuster wrote: Hi, shouldn't the pooling class use a WeakHashMap? And then I want to admit that the Apidoc should really explain when to use a pooled