[Patsystem-users] Re: PAT's roadmap
Brought to you by:
nthx
|
From: Tomasz N. <nt...@ir...> - 2005-06-20 22:36:59
|
Vladimir Atehortúa <vladimir.atehortua <at> iptotal.com> writes: > Hello all. > > I'd like to know what is PAT's > roadmap. Hi! First of all sorry for the delay. Your email haven't arrived to me.. very strange. It is on the list, but not in my mailbox.. > Where is it going, I mean it could be going towards > improving the prevalence layer to get improved performance (prevayler's site > says its transctions are slower than MySQL and SQLServer, altough queries are > much faster), or it could be coing towards new features in the AOP > arena. Forget about performance. I'm not on it. (Though nothing is faster than reading your memory :) - write speed is much more worse.) It's about simpler application model. AOP - as you've probably know - helps a lot here. Where is it going to? Who knows. Project is driven by a need. There isn't any roadmap here. When need arises... > Just a very small comment: > > in org.nthx.pat.IdentityMapMixin, in the constructor: > > public IdentityMapMixin() > { uniqueOID = 1L; map = new HashMap(); } > > > The hashmap is initializaed with no capacity. Be > aware that resizing a map always involve either rehashing or > copying the entire > contents of the map. Thus, map resizing should be avoided. If you > know how many > objects are expected to fit into the map (maybe from the highest OID) you can > avoid a ton of map resizing at startup (when the identity map is being > populated) and thus improve boot time. Thanks for looking into the source! :) If a great demand on the feature exists I could provide some sort of configuration for that... > Regards, > > Vladimir Atehortúa Take care, Tomasz Nazar |