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

Przemo Pakulski commented on SLING-3304:
----------------------------------------

Can also further improve oak related isuue, see 
https://issues.apache.org/jira/browse/OAK-701

> Optimize JcrPropertyMap.escapeKeyName()
> ---------------------------------------
>
>                 Key: SLING-3304
>                 URL: https://issues.apache.org/jira/browse/SLING-3304
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.2.8
>            Reporter: Przemo Pakulski
>            Priority: Minor
>              Labels: performance
>             Fix For: JCR Resource 2.3.0
>
>         Attachments: SLING-3304.patch
>
>
> Escaping use Session.getNamespacePrefixes() method for every single property 
> which is relatively heavy. This method can be called once per instance and 
> stored as member variable which should reduce significantly number of calls 
> for prefixes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to