jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-8228) Optimize PathUtils.dropIndexFromName(String)
Date Thu, 11 Apr 2019 14:16:00 GMT
Marcel Reutegger created OAK-8228:
-------------------------------------

             Summary: Optimize PathUtils.dropIndexFromName(String)
                 Key: OAK-8228
                 URL: https://issues.apache.org/jira/browse/OAK-8228
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: commons
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
             Fix For: 1.14.0


The implementation of {{PathUtils.dropIndexFromName(String)}} can easily be optimized for
the regular case when the name does not have an index suffix. The current pattern matching
taking place every time is rather expensive.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message