hi, [...] see some results > > > Some tests I'd be interested in having (but maybe reading the source > would give an answer too) are the optimizations available for the > following cases: > > - can I get the number of subnodes of a node without taking too much > time? > For instance will the length of the NodeIterator returned by > node.getNodes() be computed efficiently? get number of childs test getting node took 6 milliseconds node have 100 childs (System.out.println( "node have " + node.getNodes().getSize() + " childs ");) getting node child number took 2 milliseconds > > - can I ask the jcr:uuid of a node which has many properties without > incurring the cost of reading all these properties. > Zope will do that all the time. get uuid test getting node took 7 milliseconds node have uuid 1042b872-4e1f-4600-b87d-505bbd13f71f (System.out.println( "node have uuid " + node.getUUID()); getting uuid took 0 milliseconds > > - can I get the length of a STRING or BINARY value efficiently, > without the value itself being read? > This is important to be able to fetch in one go all the small > properties, but make the big ones lazy. well I'm not there is direct way to do that > -- Mircea-Eugen Ionica Java Developer Nuxeo Romania
Hosting: Nuxeo: Zope service provider
This page is a mailing archive for one of the Nuxeo projects.
[2008/11/18] Nuxeo 5.2.M3 and Nuxeo WebEngine 1.0.RC released!
[2008/11/13] First Nuxeo Developer Day (1st Dec. 2008) - Still a few seats available[2008/11/13] First Nuxeo Survey[2008/10/08] Nuxeo 5.1.6 ReleasedCorporate News[2008/11/20] Nuxeo secures 2 million Euros and strengthens its board of directors and corporate governance
[2008/11/17] Nuxeo joins OASIS[2008/10/23] IFRA Expo 2008 Amsterdam, October 27th to 30th, Booth 9363, Hall 9[2008/10/14] Nuxeo announces the appointment of Carina Rimoli as Indirect Sales Manager