[Zodb-checkins] CVS: Zope/lib/python/BTrees - Maintainer.txt:1.12 _IIBTree.c:1.7 intkeymacros.h:1.9

Tim Peters tim.one@comcast.net
Mon, 24 Jun 2002 22:00:55 -0400


Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv10293/lib/python/BTrees

Modified Files:
	Maintainer.txt _IIBTree.c intkeymacros.h 
Log Message:
Enabled multiunion() for the IOBTree package too.  There isn't a good
reason for it not being enabled before.


=== Zope/lib/python/BTrees/Maintainer.txt 1.11 => 1.12 ===
 The value doesn't matter.  If defined, SetOpTemplate.c compiles
 code for a multiunion() function (compute a union of many input sets
-at high speed).  This currently makes sense only for II sets, so
-only _IIBTree.c defines it.
+at high speed).  This currently makes sense only for structures with
+integer keys.
 
 
 BTree Clues


=== Zope/lib/python/BTrees/_IIBTree.c 1.6 => 1.7 ===
 #define DEFAULT_MAX_BUCKET_SIZE 120
 #define DEFAULT_MAX_BTREE_SIZE 500
-#define MULTI_INT_UNION 1
 
 #include "intkeymacros.h"
 #include "intvaluemacros.h"


=== Zope/lib/python/BTrees/intkeymacros.h 1.8 => 1.9 ===
   if (PyInt_Check(ARG)) TARGET=PyInt_AS_LONG(ARG); else { \
       PyErr_SetString(PyExc_TypeError, "expected integer key"); \
-      (STATUS)=0; (TARGET)=0; } 
+      (STATUS)=0; (TARGET)=0; }
+#define MULTI_INT_UNION 1