Am I alone in pining for a predicate version of findmin/findmax et al., or a `by` keyword argument? It would make this code much simpler.
On Sunday, April 10, 2016 at 5:34:25 PM UTC-4, DNF wrote: > > > I messed up copy-paste here: > > >> test_dist(1:0.1:10, 8.22, 1) >> 0.641741 seconds (1.82 M allocations: 749.817 MB, 7.57% gc time) >> 0.007380 seconds >> 0.005570 seconds >> >> > It should be (looping 10000 times) > >> test_dist(1:0.1:10, 8.22, 10^4) > 0.641741 seconds (1.82 M allocations: 749.817 MB, 7.57% gc time) > 0.007380 seconds > 0.005570 seconds > >
