<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vectorized and performance-portable Quicksort · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2205.05982/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2205.05982/feed.xml" rel="self" type="application/rss+xml" /><item><title>Vectorized and performance-portable Quicksort — mentioned by jhalstead</title><link>https://news.ycombinator.com/item?id=39565882</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:39565882</guid><pubDate>Fri, 01 Mar 2024 19:38:33 GMT</pubDate><description>&lt;p&gt;[0] for those interested in Highway. It&amp;#x27;s also mentioned in [1], which starts off &amp;gt; Today we&amp;#x27;re sharing open source code that can sort arrays of numbers about ten times as fast as the C++ std::sort, and outperforms state of the art architecture-specific algorithms, while being portable across all modern CPU architectures. Below we discuss how we achieved this. [0] https://github.com/google/highway [1] https://opensource.googleblog.com/2022/06/Vectorized%20and%2..., which has an associated paper at https://arxiv.org/pdf/2205.05982.pdf.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — HN submission</title><link>https://news.ycombinator.com/item?id=39351293</link><guid isPermaLink="false">urn:hackerpapers:submission:2205.05982:39351293</guid><pubDate>Mon, 12 Feb 2024 22:17:30 GMT</pubDate><description>&lt;p&gt;Vectorized and performance-portable Quicksort (2022)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — mentioned by nisa</title><link>https://news.ycombinator.com/item?id=34342182</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:34342182</guid><pubDate>Wed, 11 Jan 2023 18:18:41 GMT</pubDate><description>&lt;p&gt;That linked quicksort paper is pretty cool: https://arxiv.org/abs/2205.05982 - for sorting floats/integers the speedup against std::qsort is around 10x. Considering climate change more focus should be put on making fast and efficient software. Every watt not wasted on bad algorithms/code is good.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — mentioned by janwas</title><link>https://news.ycombinator.com/item?id=34035766</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:34035766</guid><pubDate>Sun, 18 Dec 2022 07:48:05 GMT</pubDate><description>&lt;p&gt;Yes indeed. IIRC std::sort&amp;#x27;s sorting network is only 3-7 elements wide. With SIMD we can handle 256. The trick is to minimize shuffling by reshaping 1D input to 2D and first sorting the columns. Previously one would then transpose (expensive) and then again sort columns. We instead fuse those two steps, see https://arxiv.org/abs/2205.05982.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — mentioned by inkyoto</title><link>https://news.ycombinator.com/item?id=31702167</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:31702167</guid><pubDate>Sat, 11 Jun 2022 05:23:38 GMT</pubDate><description>&lt;p&gt;&amp;gt; Stuff like SVE2 is really marginal when looking at whole system performance. It is not. A recent paper (https://arxiv.org/pdf/2205.05982.pdf) from Google engineering has compared performance of a vectorised (SIMD) vs non-vectorised implementation of the quick sort in the Highway library as well as the performance difference of the AVX-512 vs NEON/SVE1 implementations. By switching to the SIMD processing alone, the 9-19x speedup has been reported, depending on the SIMD unit size (32/64/128-bit numbers have been sampled and measured up). Even the smallest of the two, the 9x perfomance gain…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — mentioned by janwas</title><link>https://news.ycombinator.com/item?id=31663505</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:31663505</guid><pubDate>Wed, 08 Jun 2022 05:16:57 GMT</pubDate><description>&lt;p&gt;Yes, this is discussed in section 4.2 of our paper: https://arxiv.org/pdf/2205.05982.pdf In short, it turns out not to help for single core with vectors, but a few initial passes of ips4o (with 64..256-way partitioning) is faster for parallel sorts.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item><item><title>Vectorized and performance-portable Quicksort — mentioned by slackerIII</title><link>https://news.ycombinator.com/item?id=31622833</link><guid isPermaLink="false">urn:hackerpapers:mention:2205.05982:31622833</guid><pubDate>Sat, 04 Jun 2022 17:12:32 GMT</pubDate><description>&lt;p&gt;The paper goes into a lot more details: https://arxiv.org/pdf/2205.05982.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2205.05982/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IR</category></item></channel></rss>
