Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-494

Make ZKPaths.makePath() methods to allocate less garbage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.1.0
    • Client, Framework, Recipes
    • None

    Description

      Currently ZKPaths.makePath() methods call substring() unnecessarily. I've seen those methods responsible for 15% of total heap allocation in some application.

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              leventov Roman Leventov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: