emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/native-comp f055f52 1/2: * Fix two find function functions f


From: Stefan Monnier
Subject: Re: feature/native-comp f055f52 1/2: * Fix two find function functions for native compilation
Date: Mon, 09 Mar 2020 13:23:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> But wrt my question I was just curious whether the regexp engine
> contains an optimization that makes "\\'" match faster than "$".

No, \' is no faster than $.  It's just The Right Thing here, even tho
the probability that $ will misbehave in this case is very low here
(you'd need to have a file with ".eln\n" embedded somewhere in its name).


        Stefan




reply via email to

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