Wed, 26 Sep 2018 13:17:22 +0300
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 '''