From: Stefan Kangas <stefan@marxist.se>
To: Alan Mackenzie <acm@muc.de>
Cc: suvayu ali <fatkasuvayu+linux@gmail.com>, 10149@debbugs.gnu.org
Subject: bug#10149: Emacs 24 hangs for several minutes with very large c++ files
Date: Sat, 02 Nov 2019 11:31:09 +0100 [thread overview]
Message-ID: <87y2wyefiq.fsf@marxist.se> (raw)
In-Reply-To: <20191102100931.GA5738@ACM> (Alan Mackenzie's message of "Sat, 2 Nov 2019 10:09:31 +0000")
Hi Alan,
Alan Mackenzie <acm@muc.de> writes:
> The solution is to supply a limit to that search. I think the following
> patch should do the job. For me it speeds up a complete scroll from
> beginning to end of buffer by a factor of ~4:
I tried your patch and yes, it seems to work much better.
Thank you for the prompt fix.
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2019-11-02 10:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-27 23:04 bug#10149: Emacs 24 hangs for several minutes with very large c++ files suvayu ali
2019-11-01 23:14 ` Stefan Kangas
2019-11-02 7:31 ` Eli Zaretskii
2019-11-02 10:09 ` Alan Mackenzie
2019-11-02 10:31 ` Stefan Kangas [this message]
2019-11-02 13:07 ` Alan Mackenzie
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=87y2wyefiq.fsf@marxist.se \
--to=stefan@marxist.se \
--cc=10149@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=fatkasuvayu+linux@gmail.com \
/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.