Aug 2022

1 commit
Simplify coding style of is_valid_ascii()
5 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Implements Heikki's suggestion in #76 to compute s_end and stop updating len inside is_valid_ascii(); #78 explicitly deferred that choice. The commit changes only that loop and a comment in src/include/mb/pg_wchar.h.

  • Heikki Linnakangassaw the final versionLLM analysis, 100% sureProposed the exact end-pointer simplification while reviewing #74 in #76, and 6b41a1579b explicitly credits that suggestion.

Dec 2021

1 commit
Add fast path for validating UTF-8 text
20 Dec 2021John Naylormaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surelanded as postedfrom patchset #781 of 5 reviewers saw the final version

The stable patch ID and all four file diffs match #78, including src/common/wchar.c, src/include/mb/pg_wchar.h, and conversion regression tests. Differences in the supplied diff text are only index-hash abbreviation and the mail footer.

  • Heikki Linnakangassaw the final versionLLM analysis, 100% sureReviewed algorithms and performance throughout, then found #74 sound with minor comments in #76, addressed by the lightly revised final submission #78.
  • Vladimir Sitnikovsaw an earlier versionLLM analysis, 99% sureProposed deferred DFA error checking in #55, caught the lost state update in #65, and reviewed #72 in #73, before the portable-only restructuring.
  • Amit Khandekarsaw an earlier versionLLM analysis, 99% sureReported Arm64 results in #21, proposed integer-chunk validation in #46, and benchmarked #43 and #52 in #54 before the DFA replacement.
  • Thomas Munrosaw an earlier versionLLM analysis, 99% sureBenchmarked the portable implementation in #45 and experimental NEON support in #62, before subsequent DFA changes, and is credited by 911588a3f8.
  • Greg Starksaw an earlier versionLLM analysis, 99% sureIdentified the zero-check combination problem in #27 and suggested accumulating errors outside the loop in #28, during review of #25 before substantial algorithm changes.

Credits across 2 commits

Author
John NaylorLLM1
Committer
John Naylor2

N LLM means N of the credits come from LLM analysis, not from commit trailers.