3 ms·
you certainly can vectorize branch in a loop. Unroll loop, compute conditions in parallel, use result as a mask for conditional computation.
by flamedoge 9y ago
you certainly can vectorize branch in a loop. Unroll loop, compute conditions in parallel, use result as a mask for conditional computation.
- barrkel 9y agoThe parent's point was that the JVM didn't vectorize, not that it wasn't possible.