Fast-path for common case in MapIter on JVM.
A couple more MapIter optimizations.
A couple more buffer pre-size optimizations.