Optimize _.max and _.min for performance
Merge pull request #1448 from mehdishojaei/optimize-min-max

Optimize _.max and _.min for performance