On Tuesday, 12 April 2016 at 14:56:00 UTC, Andrei Alexandrescu wrote:
Also to avoid cache line thrashing, sort parallel swaps by leftmost index. E.g. this line:

18,19, 20,21, 2,4, 1,3, 0,5, 6,8, 7,9, 10,12, 11,13,

becomes:

0,5, 1,3, 2,4, 6,8, 7,9, 10,12, 11,13, 18,19, 20,21,


Andrei

Done.

Reply via email to