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

Alex Parvulescu commented on OAK-924:
-------------------------------------

wow, good idea!

I initially ran into some issues trying to remove  the _NamespaceHelper_ from 
the _ImportHandler_. I ended up using it only for #startPrefixMapping. 
(ugly-ish I know). 
This made me to believe initially that I can't keep a tree instance around 
because it would get stale somehow.

anyway, code is looking better, running the tests now to see if anything pops 
up.

> Optimize namespace lookups
> --------------------------
>
>                 Key: OAK-924
>                 URL: https://issues.apache.org/jira/browse/OAK-924
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core, jcr
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: performance
>         Attachments: OAK-924-bench.patch, OAK-924-noinit.patch, 
> OAK-924-nomaps.patch, OAK-924-v0.patch
>
>
> The current namespace handling code does a lot of repetitive work, which 
> shows up in hotspots like XML imports and Sling's namespace mapping code.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to