help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: `looking-back' strange warning


From: Stefan Monnier
Subject: Re: `looking-back' strange warning
Date: Thu, 01 Oct 2015 20:10:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> `re-search-backward' already slow without LIMIT?

Note that re-search-* performs a *search* whereas looking-at (and
looking-back) perform a *match*, which is expected to be quicker.

re-search-* is implemented by performing a *match* at every position and
stop at the first where a match is encountered.


        Stefan




reply via email to

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