added comment

Wed, 26 Sep 2018 13:17:22 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 26 Sep 2018 13:17:22 +0300
changeset 129
f5ba81a7d86e
parent 128
7a55abeab5fd
child 130
9c68fa498050

added comment

compute-regions.py file | annotate | diff | comparison | revisions
--- 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