[Zope-Checkins] CVS: Zope/lib/python/BTrees - sorters.c:1.3

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


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

Modified Files:
	sorters.c 
Log Message:
insertionsort() is no longer used directly; comment it out.


=== Zope/lib/python/BTrees/sorters.c 1.2 => 1.3 ===
 }
 
+#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