compute-regions.py

changeset 129
f5ba81a7d86e
parent 128
7a55abeab5fd
child 130
9c68fa498050
--- a/compute-regions.py	Wed Sep 26 13:12:11 2018 +0300
+++ b/compute-regions.py	Wed Sep 26 13:17:22 2018 +0300
@@ -29,6 +29,7 @@
 
 def minmax(data):
 	'''
+	From: http://code.activestate.com/recipes/577916-fast-minmax-function/
 	Computes the minimum and maximum values in one-pass using only
 	1.5*len(data) comparisons
 	'''

mercurial