[
https://issues.apache.org/jira/browse/CURATOR-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16715338#comment-16715338
]
ASF GitHub Bot commented on CURATOR-494:
----------------------------------------
GitHub user leventov opened a pull request:
https://github.com/apache/curator/pull/295
CURATOR-494 Make ZKPaths.makePath() methods to allocate less garbage
Currently ZKPaths.makePath() methods call substring() unnecessarily. I've
seen those methods responsible for 15% of total heap allocation in some
application.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/leventov/curator ZKPaths-substring
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/295.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #295
----
commit 123a739f258d3d1c35e28454168a209936e51cde
Author: Roman Leventov <leventov.ru@...>
Date: 2018-12-10T18:37:52Z
Make ZKPaths.makePath() methods to allocate less garbage
----
> Make ZKPaths.makePath() methods to allocate less garbage
> --------------------------------------------------------
>
> Key: CURATOR-494
> URL: https://issues.apache.org/jira/browse/CURATOR-494
> Project: Apache Curator
> Issue Type: Improvement
> Reporter: Roman Leventov
> Assignee: Jordan Zimmerman
> Priority: Major
>
> Currently ZKPaths.makePath() methods call substring() unnecessarily. I've
> seen those methods responsible for 15% of total heap allocation in some
> application.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)