hi,

Recently I was following some threads in the Struts users list about
performance issues in S2 and was curious to look at Struts code. Running
findBugs evidences many small improvements that would overall and cheaply
improve S2 performance e.g.

- In many places it is continuously creating large number of small objects
by using new rather than valueOf. 
http://findbugs.sourceforge.net/bugDescriptions.html#DM_NUMBER_CTOR
- FindBugs spotted several places using non static inner classes
unnecessarily.
- Also a few places use inneficiently keySet iterators on maps rather than
using entrySet.
- Calling toString on String types.

Good idea probably adding findbugs to the pom reporting.

regards,
Giovanni

PS: tiny small improvements but they all count :) 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to