here a discussion on the subject
https://discourse.julialang.org/t/the-quasi-best-maxn-function/52813