As soon as there are up to two items in the resulting array we can populate it explicitly which is faster and memory-saving.

Comment From: sbrannen

This has been merged into 5.3.x and main.

Thanks