PERF-8 Avoid expensive recursive operation on all array elements.