[Zodb-checkins] CVS: Zope3/lib/python/Persistence/BTrees - sorters.c:1.1.2.2

Tim Peters tim.one@comcast.net
Thu, 6 Jun 2002 15:27:14 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees
In directory cvs.zope.org:/tmp/cvs-serv7663

Modified Files:
      Tag: Zope-3x-branch
	sorters.c 
Log Message:
insertionsort() is no longer used directly; comment it out.


=== Zope3/lib/python/Persistence/BTrees/sorters.c 1.1.2.1 => 1.1.2.2 ===
 }
 
+#if 0
+/* insertionsort is no longer referenced directly, but I'd like to keep
+ *  the code here just in case.
+ */
+
 /* Straight insertion sort of the n elements starting at 'in'. */
 static void
 insertionsort(element_type *in, size_t n)
@@ -306,6 +311,7 @@
 		}
 	}
 }
+#endif
 
 /* The maximum number of elements in the pending-work stack quicksort
    maintains.  The maximum stack depth is approximately log2(n), so