[jboss-jira] [JBoss JIRA] (JGRP-2330) Replace StringBuilder with simple string concatenation
Bela Ban (Jira)
issues at jboss.org
Wed Feb 13 05:48:01 EST 2019
[ https://issues.jboss.org/browse/JGRP-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban resolved JGRP-2330.
----------------------------
Resolution: Done
> 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
> Priority: Minor
> 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