Re: [PATCH 2/2] grep/pcre2: factor out literal variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 20, 2021, 20:53 UTC
- Message-ID
- <xmqqmtkvuhfm.fsf@gitster.g>
- In-Reply-To
- <211219.86o85cwfje.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 8 quoted lines
> Aside: Not needed for this change, but I wonder if we could benefit minutely > from: > > #ifdef PCRE2_LITERAL > options |= PCRE2_LITERAL; > #endif > > It'll save PCRE2 the small effort of finding that we've got no metacharacters.
After the dust settles, it would be a good addition in a separate patch.
Thanks.