[jboss-jira] [JBoss JIRA] (JGRP-2330) Replace StringBuilder with simple string concatenation

Bela Ban (Jira) issues at jboss.org
Fri Feb 8 02:10:00 EST 2019


Bela Ban created JGRP-2330:
------------------------------

             Summary: Replace StringBuilder with simple string concatenation
                 Key: JGRP-2330
                 URL: https://issues.jboss.org/browse/JGRP-2330
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 4.0.17


Apparently simple string concatenation is faster than StringBuilder.append(). Also, we have occurrences of StringBuilder.append() that's not guarded by a {{log.isTraceEnabled()}} (e.g. in {{NAKACK2.overwriteDigest()}}): remove that.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list