r9579 - helma/helma/branches/lazy_collections/src/helma/objectmodel/db
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090406153933.9BEEC3D0D6@mia> |
Author: hannes
Date: 2009-04-06 17:39:33 +0200 (Mon, 06 Apr 2009)
New Revision: 9579
Modified:
helma/helma/branches/lazy_collections/src/helma/objectmodel/db/Node.java
Log:
Don't prefetch nodes in subnode enumeration for better performance comparsion with trunk.
Details at http://dev.helma.org/trac/helma/changeset/9579
Modified: helma/helma/branches/lazy_collections/src/helma/objectmodel/db/Node.java
===================================================================
--- helma/helma/branches/lazy_collections/src/helma/objectmodel/db/Node.java 2009-04-06 09:08:18 UTC (rev 9578)
+++ helma/helma/branches/lazy_collections/src/helma/objectmodel/db/Node.java 2009-04-06 15:39:33 UTC (rev 9579)
@@ -1593,9 +1593,8 @@
public Object nextElement() {
// prefetch in batches of 100
- if (pos % 100 == 0)
- list.prefetch(pos, 100);
-
+ // if (pos % 100 == 0)
+ // list.prefetch(pos, 100);
return list.getNode(pos++);
}
};