unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* skip-chars-forward v. re-search-forward
@ 2003-04-02 17:43 Dave Love
  2003-04-02 19:49 ` Andreas Schwab
  2003-04-03 10:37 ` Richard Stallman
  0 siblings, 2 replies; 11+ messages in thread
From: Dave Love @ 2003-04-02 17:43 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-05-02  7:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 17:43 skip-chars-forward v. re-search-forward Dave Love
2003-04-02 19:49 ` Andreas Schwab
2003-04-03 22:53   ` Richard Stallman
2003-04-04 10:48   ` Dave Love
2003-04-03 10:37 ` Richard Stallman
2003-04-04 10:52   ` Dave Love
2003-04-24  1:41   ` Kenichi Handa
2003-04-26  2:33     ` Richard Stallman
2003-04-29 17:20       ` Dave Love
2003-05-01  7:11       ` Kenichi Handa
2003-05-02  7:05         ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).