Re: speed up verifying UTF-8 - Mailing list pgsql-hackers

From John Naylor
Subject Re: speed up verifying UTF-8
Date
Msg-id CAFBsxsF0Tm9+jTvpe4U0BKO5u2DraFcKhT3P02d6N8t1AB6MiA@mail.gmail.com
Whole thread Raw
In response to Re: speed up verifying UTF-8  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: speed up verifying UTF-8  (John Naylor <john.naylor@enterprisedb.com>)
Re: speed up verifying UTF-8  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-hackers
On Fri, Jul 16, 2021 at 1:44 AM Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>
> Have you considered shift-based DFA for a portable implementation https://gist.github.com/pervognsen/218ea17743e1442e59bb60d29b1aa725 ?

I did consider some kind of DFA a while back and it was too slow.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Next
From: David Rowley
Date:
Subject: Re: Remove redundant strlen call in ReplicationSlotValidateName