model-writtenrun 7991 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- John Naylor opened the thread with perfect-hash decomposition and a reordered table that shortened recomposition's linear search, reporting substantial normalization speedups but approximately 26 kB of additional frontend code in #1.
- Tom Lane argued that password normalization did not justify enlarging libpq in #2, and Michael Paquier supported backend-only hashing while retaining a codepoint-ordered decomposition table in #3.
- John Naylor proposed hashing pairs of codepoints for recomposition in #4; Tom Lane asked about ICU's implementation in #5, and Kyotaro Horiguchi described its trie-based tables in #6.
- John Naylor replaced the shortened linear search with perfect-hash recomposition, split the work into two patches, and retained frontend search behavior in #7, reporting 50–75-fold improvements in simple recomposition benchmarks.
- Michael Paquier reproduced large performance gains and requested clearer hash-key documentation and a separate backend header in #8, while Daniel Verite's broader benchmarks confirmed major improvements but showed ICU remained faster in #9.
- Michael Paquier traced frontend binary growth to debug builds in #12, and John Naylor confirmed it in #13; the revisions in #15 and #16 isolated the hash definitions in a generated header, clarified sorting and comments, and corrected a pgindent exclusion.
- Michael Paquier combined the series and corrected an include path, comments, and formatting in #17, then committed it as 783f0cc64d with only an additional punctuation change and announced completion in #19.
- Tom Lane reported a coverage-report warning caused by the new code in #21; Mark Dilger could not reproduce it on his systems in #22, but Michael Paquier reproduced it and supplied a patch consolidating the conditional get_code_entry() definitions in #23.
- Tom Lane verified the coverage fix and requested moving conv_compare() away from get_code_entry()'s header comment in #24; Michael Paquier incorporated that adjustment into 2771fcee18 and confirmed the landing in #25.
- John Naylor later found a latent recomposition-sort comparison error and an unnecessarily shared pg_bswap.h include, supplying both corrections in #26.
- Michael Paquier committed those corrections as ceaeac54f7 with only Perl whitespace adjustment and confirmed completion in #28, leaving the optimization and both follow-up fixes landed with no outstanding patch in the thread.