all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inefficient code in ispell.el
@ 2005-06-06 12:06 Kim F. Storm
  2005-06-06 16:37 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Kim F. Storm @ 2005-06-06 12:06 UTC (permalink / raw)
  Cc: emacs-devel


I noticed the following code in ispell.el

			(progn
			  (setq key (buffer-substring-no-properties
				     (car (match-data))
				     (car (cdr (match-data)))))

Using match-data like that is VERY inefficient.

I suggest using match-string-no-properties instead, or
at least match-beginning/match-end.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: Inefficient code in ispell.el
  2005-06-06 12:06 Inefficient code in ispell.el Kim F. Storm
@ 2005-06-06 16:37 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2005-06-06 16:37 UTC (permalink / raw)
  Cc: k.stevens, emacs-devel

I will fix that.

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

end of thread, other threads:[~2005-06-06 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06 12:06 Inefficient code in ispell.el Kim F. Storm
2005-06-06 16:37 ` Richard Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.