[
https://issues.apache.org/jira/browse/OAK-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789232#comment-13789232
]
Alex Parvulescu commented on OAK-924:
-------------------------------------
Had a quick chat with Jukka about the state of this issue.
Things I'd like to tackle next are:
- add a commit hook that builds a reverse URI->prefix mapping, this should
optimize the access patterns
(this could also keep a list of all registered URIs and prefixes to optimize
the #getPrefixes() and #getURIs() calls)
- remove the SessionNamespaces#init call
- move the default ns (static) map to the initial content
> 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
>
>
> 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)