Actually we already have special mapreduce methods for SkipMissing, which are be fast while still using pairwise summation (Add optimized mapreduce implementation for SkipMissing by nalimilan · Pull Request #27743 · JuliaLang/julia · GitHub). But since mean no longer uses sum, it doesn’t benefit from them. We should probably add a special method for it.
11 Likes