Hi all,

On 5/19/06, Nicolas <[email protected]> wrote:
Hey John,

wow - 10 minutes indeed :D real fast. What was the train you were
riding?

Since I have made a hierarchy for storing the expressions, where
should I position myself when calling Content.iterator() ... which
expressions do you expect to handle within the method contentIterator ?

Indeed, there is a potential optimization here.

In the default OpenWFE FileExpressionStore, I used to simply look at
the name of the file containing the expresssion. As this name contains
the name of the expression, it was easy to say : this expression
[name] belongs to the expressions the contentIterator is in charge to
iterate through, lets take it.

I think that for an initial (today) re-implementation we can go
without that optimization and leave it for tomorrow (japanese time).


I've had a look at Content.Iterator(), in fact it's rather
Content.getChildren(xxx).iterator() which (getChildren()) returns a
new list/set of Content. We would certainly gain time by directly
calling the JCR's Node.nodeIterator()...

What do you guys think ?

--
John Mettraux   -///-   http://jmettraux.openwfe.org

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to