For the benefit of the community, I post the following observation:
With XMLVM code, the use of "synchronized" methods results in a massive
performance hit as compared to unsynchronized methods. This can crop up
in many cases, e.g. the use of the old fashion "Vector" or "Hashtable"
java classes (which are both synchronized). Replacing those by the
newer, unsynchronized ArrayList / HashMap classes results in a huge
(100-1000x!) performance increase in these functions.
While there is also some performance hit from synchronization in the
corresponding "native" Java code, it is FAR more modest.
JR
--
J.R. Schmidt
WebMO, LLC
Fax: (734) 418-1077
E-mail: sc...@we...
http://www.webmo.net
|