<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>acdat on PGSTY EXT</title><link>https://ext.pgsty.com/tags/acdat/</link><description>Recent content in acdat on PGSTY EXT</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 01 Dec 2026 12:26:58 +0800</lastBuildDate><atom:link href="https://ext.pgsty.com/tags/acdat/index.xml" rel="self" type="application/rss+xml"/><item><title>acdat 0.1.1: Bounded builds and faster root misses</title><link>https://ext.pgsty.com/release/acdat/0.1.1/</link><pubDate>Thu, 03 Sep 2026 00:00:00 +0000</pubDate><dc:creator>Ruohang Feng</dc:creator><guid>https://ext.pgsty.com/release/acdat/0.1.1/</guid><description>&lt;p&gt;acdat 0.1.1 ships a PGXN-compatible source ZIP for the PG14–18 release line. The SQL API and format-major-1 machines remain compatible with 0.1.0.&lt;/p&gt;&#10;&lt;div class="td-release-card-static"&gt;&#10; &lt;p&gt;&lt;strong&gt;v0.1.1&lt;/strong&gt; · &lt;time datetime="2026-09-03"&gt;2026-09-03&lt;/time&gt;&lt;/p&gt;&#10; &lt;ul&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/pgsty/acdat/releases/tag/v0.1.1"&gt;View release&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/pgsty/acdat/archive/refs/tags/v0.1.1.tar.gz"&gt;Source · tar.gz&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/pgsty/acdat/archive/refs/tags/v0.1.1.zip"&gt;Source · zip&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/pgsty/acdat"&gt;pgsty/acdat&lt;/a&gt;&lt;/li&gt;&#10; &lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="changes"&gt;Changes&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Area&lt;/th&gt;&#10; &lt;th scope="col"&gt;Change&lt;/th&gt;&#10; &lt;th scope="col"&gt;Evidence&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Compiler&lt;/td&gt;&#10; &lt;td&gt;Removing globally unique BASE placement reduces pathological UTF8 build searches. Compilation is cancellable and the builder bounds its candidate search.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.1/docs/CHANGELOG.md"&gt;CHANGELOG.md&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Runtime&lt;/td&gt;&#10; &lt;td&gt;The materialized output chain frees one four-byte array per DAT slot. A 256-entry root transition table handles root misses; cache replacement is exception-safe.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.1/docs/CHANGELOG.md"&gt;CHANGELOG.md&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Release&lt;/td&gt;&#10; &lt;td&gt;The canonical repository moved to pgsty/acdat and the code was relicensed under Apache-2.0.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.1/LICENSE"&gt;LICENSE&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="details"&gt;Dictionary builds&#10;&lt;/h2&gt;&#10;&lt;p&gt;The release evaluates packed runtime states and LexDFS placement but retains the existing representation. The benchmark separates root misses, hit-heavy scans, UTF8 inputs and worst overlaps.&lt;/p&gt;</description></item><item><title>acdat 0.1.0: Typed machines and transactional dictionaries</title><link>https://ext.pgsty.com/release/acdat/0.1.0/</link><pubDate>Sat, 22 Aug 2026 00:00:00 +0000</pubDate><dc:creator>Ruohang Feng</dc:creator><guid>https://ext.pgsty.com/release/acdat/0.1.0/</guid><description>&lt;p&gt;The C/PGXS rebuild targets PG14–18. This source tag introduces a fixed acdat schema and a typed machine that can be stored and reused.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/pgsty/acdat/tree/v0.1.0"&gt;Tagged source&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="changes"&gt;Changes&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Area&lt;/th&gt;&#10; &lt;th scope="col"&gt;Change&lt;/th&gt;&#10; &lt;th scope="col"&gt;Evidence&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;SQL&lt;/td&gt;&#10; &lt;td&gt;Compile text or bytea arrays and aggregate source rows. Enumerate hit positions, test existence and replace literal spans.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.0/sql/acdat--0.1.0.sql"&gt;acdat&amp;ndash;0.1.0.sql&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Storage&lt;/td&gt;&#10; &lt;td&gt;Portable serialized machines expose validation, import/export and distinct fingerprints for rules, builds and payloads.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.0/src/acdat_format.c"&gt;acdat_format.c&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Lifecycle&lt;/td&gt;&#10; &lt;td&gt;Publish immutable builds and atomically switch the active build; roll back by activating a prior ready build.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.0/sql/acdat--0.1.0.sql"&gt;acdat&amp;ndash;0.1.0.sql&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;License&lt;/td&gt;&#10; &lt;td&gt;The tag includes the original PostgreSQL-style permissive license.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.1.0/LICENSE"&gt;LICENSE&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="details"&gt;Dictionary builds&#10;&lt;/h2&gt;&#10;&lt;p&gt;A rule set now has a machine value with explicit IDs and a typed hit result. Managed builds can be activated in a transaction; source rules stay with the application.&lt;/p&gt;</description></item><item><title>acdat 0.0.2: Literal replacement on PG16</title><link>https://ext.pgsty.com/release/acdat/0.0.2/</link><pubDate>Thu, 12 Sep 2024 00:00:00 +0000</pubDate><dc:creator>Ruohang Feng</dc:creator><guid>https://ext.pgsty.com/release/acdat/0.0.2/</guid><description>&lt;p&gt;This PostgreSQL 16 source tag adds literal rewriting to the bytea dictionary prototype. &lt;a href="https://github.com/pgsty/acdat/tree/v0.0.2"&gt;Source tag&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="changes"&gt;Changes&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Area&lt;/th&gt;&#10; &lt;th scope="col"&gt;Change&lt;/th&gt;&#10; &lt;th scope="col"&gt;Evidence&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Dictionary&lt;/td&gt;&#10; &lt;td&gt;Optional replacements travel with compiled patterns. The install and update scripts expose &lt;code&gt;acdat_replace(text, bytea)&lt;/code&gt;.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.2/sql/acdat--0.0.2.sql"&gt;acdat&amp;ndash;0.0.2.sql&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Selection&lt;/td&gt;&#10; &lt;td&gt;Replacement walks left to right, selects the longest pattern at a start, breaks equal-length ties by dictionary order and never rescans inserted text.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.2/README.md"&gt;README.md&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Validation&lt;/td&gt;&#10; &lt;td&gt;Compiled offsets and pattern payloads are bounded; regression cases cover overlaps and rule ordering.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.2/sql/acdat_basic.sql"&gt;acdat_basic.sql&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;</description></item><item><title>acdat 0.0.1: PG14 dictionary prototype</title><link>https://ext.pgsty.com/release/acdat/0.0.1/</link><pubDate>Thu, 19 May 2022 00:00:00 +0000</pubDate><dc:creator>Ruohang Feng</dc:creator><guid>https://ext.pgsty.com/release/acdat/0.0.1/</guid><description>&lt;p&gt;The PostgreSQL 14 source prototype compiles a text array into a bytea dictionary and tests an input for any literal match. &lt;a href="https://github.com/pgsty/acdat/tree/v0.0.1"&gt;Source tag&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="changes"&gt;Changes&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Area&lt;/th&gt;&#10; &lt;th scope="col"&gt;Change&lt;/th&gt;&#10; &lt;th scope="col"&gt;Evidence&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;API&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;acdat_compile(text[])&lt;/code&gt; builds the byte-oriented dictionary; &lt;code&gt;acdat_contains(text, bytea)&lt;/code&gt; stops on the first hit.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.1/sql/acdat--0.0.1.sql"&gt;acdat&amp;ndash;0.0.1.sql&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Matcher&lt;/td&gt;&#10; &lt;td&gt;Byte transitions and failure links allow one pass over the input.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.1/src/acdat.c"&gt;acdat.c&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Regression&lt;/td&gt;&#10; &lt;td&gt;The prototype includes a PGXS regression script and expected matcher output.&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://github.com/pgsty/acdat/blob/v0.0.1/expected/acdat_basic.out"&gt;acdat_basic.out&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;</description></item></channel></rss>