From: Leo Liu <sdl.web@gmail.com>
To: 15808@debbugs.gnu.org
Subject: bug#15808: 24.3; thing-at-point slow for url and email
Date: Tue, 05 Nov 2013 10:52:10 +0800 [thread overview]
Message-ID: <m1fvrbftlx.fsf@gmail.com> (raw)
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
next reply other threads:[~2013-11-05 2:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 2:52 Leo Liu [this message]
2013-11-05 8:41 ` bug#15808: 24.3; thing-at-point slow for url and email 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1fvrbftlx.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=15808@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.