Don't know if anyone else noticed hamada's commit ?
There's a nice enhancement that's done in that commit which makes better
use of StringBufffer.append().
For example,
response.append("\"").append(value).append("\"");
will perform much better than,
response.append("\"" + value + "\"");
With some of the enhancements in compilers and run time JIT compilers
this kind of transformation may get done automatically. However, IMO,
the explicit change made by hamada is a better approach.
Nice job Hamada.
Btw, I'm gonna ask Tom Ball who is the creator of Jackpot if a Jackpot
transformation rule could easily be created to identify such a usage and
also provide the transformation. That'd be a nice transformation to have.
charlie ...
--
Charlie Hunt
Java Performance Engineer
630.285.7708 x47708 (Internal)
<http://java.sun.com/docs/performance/>