[Zope3-checkins] CVS: Zope3/src/zodb/btrees - BTreeItemsTemplate.c:1.4
Tim Peters
tim.one@comcast.net
Sun, 16 Mar 2003 17:32:55 -0500
Update of /cvs-repository/Zope3/src/zodb/btrees
In directory cvs.zope.org:/tmp/cvs-serv16320/src/zodb/btrees
Modified Files:
BTreeItemsTemplate.c
Log Message:
nextBTreeItems(): This was copying the value (from the next (key, value)
pair) from the bucket into the set-iteration struct twice. I don't
believe this had any visible effect, it was simply pointless and wasted
a little time (discovered by eyeball).
=== Zope3/src/zodb/btrees/BTreeItemsTemplate.c 1.3 => 1.4 ===
--- Zope3/src/zodb/btrees/BTreeItemsTemplate.c:1.3 Fri Jan 31 14:50:28 2003
+++ Zope3/src/zodb/btrees/BTreeItemsTemplate.c Sun Mar 16 17:32:54 2003
@@ -523,9 +523,6 @@
COPY_VALUE(i->value,
currentbucket->values[ITEMS(i->set)->currentoffset]);
- COPY_VALUE(i->value,
- BUCKET(ITEMS(i->set)->currentbucket)
- ->values[ITEMS(i->set)->currentoffset]);
INCREF_VALUE(i->value);
i->position ++;