3 ms·
thanks for sharing this with us. i admire this approach that builds on small improvements here and there. and these improvements are interesting in their own wa
by blondin 4y ago
thanks for sharing this with us. i admire this approach that builds on small improvements here and there. and these improvements are interesting in their own way. it reminds me of micro-optimizations with encoding routines. i didn't SIMD in the code at first glance. you might gain significant speed with SIMD.
- janwas 4y ago:) Indeed, we're seeing 10x speedups from SIMD for some distributions. It's useful both for sorting networks and quicksort partitioning. Code here: https://github.com/google/highway/tree/master/hwy/contrib/sort https://github.com/google/highway/tree/master/hwy/contrib/so... (disclosure: I'm one of the co-authors).