all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15808: 24.3; thing-at-point slow for url and email
@ 2013-11-05  2:52 Leo Liu
  2013-11-05  8:41 ` Andreas Röhler
  2013-11-05 16:32 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Leo Liu @ 2013-11-05  2:52 UTC (permalink / raw)
  To: 15808

GNU Emacs 24.3.1 (i386-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit
1265) of 2013-10-27 on localhost

While using M-w in simple.el using easy-kill I noticed some delays which
are due to slow (thing-at-point 'url) and (thing-at-point 'email).

If I narrow the buffer, they become instant. However slowness doesn't
appear to be proportional to buffer-size, I tried the org.el file and
they were instant there.

For example

1. goto function next-error-buffer-p in simple.el
2. eval (benchmark-run 10 (thing-at-point 'email))
3. eval (benchmark-run 10 (thing-at-point 'url))

email: (4.415538 0 0.0)
url: (6.74361 0 0.0)

What is choking the regexp engine?

Leo





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

end of thread, other threads:[~2013-11-06  9:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05  2:52 bug#15808: 24.3; thing-at-point slow for url and email Leo Liu
2013-11-05  8:41 ` Andreas Röhler
2013-11-05 16:32 ` Stefan Monnier
2013-11-06  0:59   ` Leo Liu
2013-11-06  2:18     ` Stefan Monnier
2013-11-06  3:35       ` Leo Liu
2013-11-06  3:45       ` Leo Liu
2013-11-06  6:55         ` Stefan Monnier
2013-11-06  9:10           ` Leo Liu

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.