JuliaLang/julia — pull request #7013 by lindahua (2014-05-28 16:38:38+00:00)
Title: Tweaks of sum functions

Some internal refactoring. To make handling of summing over empty array or singleton arrays consistent (and more efficient for when the elements are commonly used types).