[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH] pcre: migrate to pcre2

From: Paul Eggert
Subject: Re: [RFC PATCH] pcre: migrate to pcre2
Date: Wed, 13 Oct 2021 15:25:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

On 10/13/21 14:52, Carlo Arenas wrote:
Would performance regressions also
need to be addressed before moving from RFC to PATCH?

Only if they're severe ones, I'd think.

I'm hoping that there will be performance improvements, actually. In UTF-8 locales PCRE without PCRE_NO_UTF8_CHECK makes two passes over the input, one to validate and the other to search. If PCRE2 can do this in one pass somehow, that'd likely be a performance win.

Other than performance, what are the advantages of switching to PCRE2? These can be briefly summarized (or a pointer to them) in NEWS.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]