Re: Optimising Variable to reduce instantiation overhead

Endre Stølsvik <[email protected]> Mon, 13 Mar 2006 13:34:10 +0100 (CET)
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
On Sun, 12 Mar 2006, Alex Twisleton-Wykeham-Fiennes wrote:

| All,
| 
| more performance tweaks, this one to the org.webmacro.engine.Variable class.

Excellent performance tuneup you're into, Alex!

| - made the getVariableName() method check to see if _vname has been 
| initialised, and if not then build the name before returning it.  This is now 
| synchronized as it changes the state of the object.

So?

Is it shared across threads?

Regards,
Endre


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642