Closed nh2 closed 7 years ago
An example of this is Combinators.minimum, which until now would thunk up min(_, min(...)), instead of demanding each min result, leading to non-constant memory usage.
Combinators.minimum
min(_, min(...))
min
I haven't checked if other functions need a similar change.
Thanks!
An example of this is
Combinators.minimum
, which until now would thunk upmin(_, min(...))
, instead of demanding eachmin
result, leading to non-constant memory usage.I haven't checked if other functions need a similar change.