[ https://issues.apache.org/jira/browse/OAK-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-8228. --------------------------------- bulk close 1.14.0 > 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 > Priority: Minor > 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)