[Zope-Checkins] CVS: Zope2 - BTreeTemplate.c:1.9.2.3 BucketTemplate.c:1.6.2.3 SetTemplate.c:1.6.2.3 TreeSetTemplate.c:1.5.2.3

Jim Fulton jim@digiciool.com
Sun, 25 Feb 2001 22:43:41 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/BTrees
In directory korak:/tmp/cvs-serv3314

Modified Files:
      Tag: Catalog-BTrees-Integration
	BTreeTemplate.c BucketTemplate.c SetTemplate.c 
	TreeSetTemplate.c 
Log Message:
Fixed numerous persistence/pickling bugs.

Added optimizations for small BTrees and sets. If there is just 
one bucket that hasn't been saved before, then BTree data are saved
directly to avoid an extra database object. This means that
it's pretty reasonable to use a BTree or TreeSet even if you aren't
sure it's going to get big.