[Patsystem-users] PAT's roadmap
Brought to you by:
nthx
|
From: <vla...@ip...> - 2005-06-14 15:31:06
|
Hello all.
I'd like to know what is PAT's roadmap.
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.
Just a very small comment:
in org.nthx.pat.IdentityMapMixin, in the constructor:
public IdentityMapMixin()
{
uniqueOID =3D 1L;
map =3D 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.
Regards,
Vladimir Atehort=FAa |