You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2024/06/18 14:26:00 UTC

[jira] [Commented] (KAFKA-16989) Use StringBuilder instead of string concatenation

    [ https://issues.apache.org/jira/browse/KAFKA-16989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855954#comment-17855954 ] 

TengYao Chi commented on KAFKA-16989:
-------------------------------------

Gentle ping [~chia7712] 
If you are not start working on this one, I would like to handle it. :)

> Use StringBuilder instead of string concatenation
> -------------------------------------------------
>
>                 Key: KAFKA-16989
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16989
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> https://github.com/apache/kafka/blob/2fd00ce53678509c9f2cfedb428e37a871e3d530/metadata/src/main/java/org/apache/kafka/image/node/ClientQuotasImageNode.java#L130
> The string concatenation will create many new strings and we can reduce the cost by using StringBuilder



--
This message was sent by Atlassian Jira
(v8.20.10#820010)