[Top][All Lists]

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

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

From: Dave Love
Subject: skip-chars-forward v. re-search-forward
Date: 02 Apr 2003 18:43:21 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

I've tended to use skip-chars-forward instead of re-search-forward
since it's byte-coded and I assumed it's more efficient.  However, I
made a measurement and found that skip-chars-forward was actually
slower than re-search-forward.

Is there a good reason for maintaining the two implementations?
Implementing skip-chars-forward using re-search-forward would have the
advantage that character classes would work with it, which they
currently don't.

reply via email to

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