jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: ContentSession.getCurrentRoot() is slow
Date Thu, 13 Sep 2012 16:00:35 GMT

On Thu, Sep 13, 2012 at 5:42 PM, Thomas Mueller <mueller@adobe.com> wrote:
> Should I cache the Root instance in the query engine for the duration of a
> query? Or would it be possible to change the Root implementation so this
> is not needed?

It would be better if the query engine used the same tree snapshot as
the rest of the session. There shouldn't be any need to call


Jukka Zitting

View raw message