jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-108) Shortcut path conversions
Date Thu, 13 Sep 2012 10:53:07 GMT

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

Michael Dürig commented on OAK-108:

IIUC this is just a re-factoring of the current logic from using if-else to using polymorphic
dispatch. While I'm in favour of this in general, I'm not sure whether these short cut conversions
make any sense at all here. What does it actually save us? Is that worth it?
> Shortcut path conversions
> -------------------------
>                 Key: OAK-108
>                 URL: https://issues.apache.org/jira/browse/OAK-108
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Julian Reschke
> It would be nice if we could shortcut path conversions in order to minimize the cost
of converting between OAK paths and JCR paths.
> For instance, when going from OAK to JCR (assuming that the path is valid and normalized
to begin with), we should be able to avoid prefix remapping completely if there are no session
prefix remappings. To detect the latter, we'll however have to override or extend the namespace
handling inside jcr-commons abstract-session.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message