[jboss-jira] [JBoss JIRA] Created: (JBRULES-2065) Performance benefit using StringBuilder instead of StringBuffer in org.drools.util.StringUtils
Jeff Adams (JIRA)
jira-events at lists.jboss.org
Thu Apr 16 17:17:22 EDT 2009
Performance benefit using StringBuilder instead of StringBuffer in org.drools.util.StringUtils
----------------------------------------------------------------------------------------------
Key: JBRULES-2065
URL: https://jira.jboss.org/jira/browse/JBRULES-2065
Project: JBoss Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.0.0.CR1
Environment: Any
Reporter: Jeff Adams
Assignee: Mark Proctor
Priority: Minor
Any chance we can get some performance improvement by replacing all uses of StringBuffer in org.drools.util.StringUtils with StringBuilder?
If the minimum JVM version for drools is 1.5 StringBuilder is more efficient than StringBuffer for all the current uses in this code.
>From the javadocs:
'This class is designed for use as a drop-in replacement for StringBuffer in places where the string buffer was being used by a single thread (as is generally the case)'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list