<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Note on CuriousCoding</title><link>https://curiouscoding.nl/categories/note/</link><description>Recent content in Note on CuriousCoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 14 Oct 2026 00:00:00 +0200</lastBuildDate><atom:link href="https://curiouscoding.nl/categories/note/index.xml" rel="self" type="application/rss+xml"/><item><title>Comparing PHastR and PtrHash</title><link>https://curiouscoding.nl/posts/phastr-and-ptrhash/</link><pubDate>Wed, 14 Oct 2026 00:00:00 +0200</pubDate><guid>https://curiouscoding.nl/posts/phastr-and-ptrhash/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="#bucket-placement" &gt;Bucket placement&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#bumping" &gt;Bumping&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="#query-speed" &gt;Query speed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#space-usage" &gt;Space usage&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#construction-speed" &gt;Construction speed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#overview" &gt;Overview&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#conclusion" &gt;Conclusion&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#ideas-for-improving-ptrhash" &gt;Ideas for improving PtrHash&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="#levels" &gt;Levels&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Sebastiano Vigna just preprinted &lt;a href="https://github.com/vigna/sux-rs" class="external-link" target="_blank" rel="noopener"&gt;PHastR&lt;/a&gt; (&lt;a href="#citeproc_bib_item_6"&gt;Vigna 2026&lt;/a&gt;), a new, faster version of&#10;PHast and PHast+ (&lt;a href="#citeproc_bib_item_1"&gt;Beling and Sanders 2025&lt;/a&gt;, &lt;a href="#citeproc_bib_item_2"&gt;n.d.&lt;/a&gt;).&#10;In the evaluations, it is a direct improvement over PHast+:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;slightly smaller,&lt;/li&gt;&#10;&lt;li&gt;2\(\times\) to \(3\times\) faster to build,&lt;/li&gt;&#10;&lt;li&gt;faster queries.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;This is a quick note comparing the PHast line of work to &lt;a href="https://github.com/RagnarGrootKoerkamp/ptrhash" class="external-link" target="_blank" rel="noopener"&gt;PtrHash&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>