(2022)If you're curious why you would want a vectorized way to sort lists of numbers, one use case is building histograms - it's much easier to build a histogram if you've sorted all your samples first
VQSort users include numpy, XLA (for sparse tensors), ScaNN:<a href="https://sourcegraph.com/search?q=context:global+hwy/contrib/sort/+-repo:google/highway+-path:hwy/contrib/sort+-path:highway/hwy/+-file:CMakeLists.txt+-file:filelist+-path:g3doc/+-f:meson.build+-f:patch%24+-path:/hwy/&patternType=keyword&sm=0" rel="nofollow">https://sourcegraph.com/search?q=context:global+hwy/contrib/...
kg · · focus · HN ↗
If you're curious why you would want a vectorized way to sort lists of numbers, one use case is building histograms - it's much easier to build a histogram if you've sorted all your samples first
mcdonje · · focus · HN ↗
I wonder what apps have implemented this now that a few years have passed.
janwas · · focus · HN ↗
<a href="https://sourcegraph.com/search?q=context:global+hwy/contrib/sort/+-repo:google/highway+-path:hwy/contrib/sort+-path:highway/hwy/+-file:CMakeLists.txt+-file:filelist+-path:g3doc/+-f:meson.build+-f:patch%24+-path:/hwy/&patternType=keyword&sm=0" rel="nofollow">https://sourcegraph.com/search?q=context:global+hwy/contrib/...