From: Eli Zaretskii <eliz@gnu.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org
Subject: bug#23928: 25.0.95; Performance regression observable with smartparens
Date: Sun, 10 Jul 2016 20:14:13 +0300 [thread overview]
Message-ID: <83r3b1e7q2.fsf@gnu.org> (raw)
In-Reply-To: <CAHyO48zfEv0fMtNgHdfFejDoEzL70kRdagGd+A0TCCHiANGzJA@mail.gmail.com> (message from Aaron Jensen on Sun, 10 Jul 2016 16:53:45 +0000)
> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Sun, 10 Jul 2016 16:53:45 +0000
> Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org
>
> Does smartparens really care about this? Why?
>
> I’d imagine because of things like ruby’s do/end. It wouldn’t want to match DO/Do/etc.
Then setting case-fold-search locally in the buffer (with setq-local
and its ilk) should do the trick.
> By the way, I tested without the bind and smartparens doesn’t even show up on the profile.
Does this mean that the slow operation is also gone when you do that?
> Would it be worth putting a warning in the docs of `let` for this case?
Maybe in the manual.
> Is it only case-fold-search or are there other vars that require per
> buffer updates to rebind?
Any variable which is global by default, but can be local in some
buffers.
next prev parent reply other threads:[~2016-07-10 17:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 14:56 bug#23928: 25.0.95; Performance regression observable with smartparens Aaron Jensen
2016-07-09 15:53 ` Noam Postavsky
2016-07-09 17:01 ` Eli Zaretskii
2016-07-10 2:55 ` Aaron Jensen
2016-07-10 14:29 ` Eli Zaretskii
2016-07-10 15:58 ` Aaron Jensen
2016-07-10 16:14 ` Eli Zaretskii
2016-07-10 16:53 ` Aaron Jensen
2016-07-10 17:14 ` Eli Zaretskii [this message]
2016-07-10 18:42 ` Dmitry Gutov
2016-07-10 19:01 ` Eli Zaretskii
2016-07-10 19:17 ` Dmitry Gutov
2016-07-10 19:20 ` Eli Zaretskii
2016-07-10 19:56 ` Dmitry Gutov
2016-07-11 2:28 ` Eli Zaretskii
2016-07-11 2:48 ` Aaron Jensen
2016-07-11 2:49 ` Aaron Jensen
2016-07-11 14:38 ` Eli Zaretskii
2016-07-20 4:58 ` Aaron Jensen
2016-07-20 14:56 ` Eli Zaretskii
2016-07-10 18:49 ` Aaron Jensen
2016-07-09 16:50 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r3b1e7q2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=23928@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
--cc=npostavs@users.sourceforge.net \
/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 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).