Specialize array iteration in GenArrayWaitHandle::create
Also, only do one pass over the array, instead of two.
Perflab things it cuts on instructions a very tiny bit, and cuts
branch misses (less than a percent.) This is adding a place that
assumes packed and mixed arrays have the same value layout---do we
think it's worth that? (We can always rip it out later, and maybe
GenArrayWaitHandle will become less important if people soon use
Map/Vector WaitHandle instead?)
Reviewed By: @jano
Differential Revision:
D1061039