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

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

Re: skip-chars-forward v. re-search-forward


From: Dave Love
Subject: Re: skip-chars-forward v. re-search-forward
Date: 04 Apr 2003 11:48:28 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Andreas Schwab <address@hidden> writes:

> But re-search-forward uses a cache for recently used regexps to
> avoid the overhead of compiling it, whereas skip-chars-forward
> always sets up the search map anew.

Yes, but that doesn't address the question.

Anyhow, caching doesn't account for the experimental data, at least
when searching a big buffer for a missing pattern.  re-search-forward
is faster in one-off use.




reply via email to

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