unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Kangas <stefan@marxist.se>
Cc: suvayu ali <fatkasuvayu+linux@gmail.com>, 10149-done@debbugs.gnu.org
Subject: bug#10149: Emacs 24 hangs for several minutes with very large c++ files
Date: Sat, 2 Nov 2019 13:07:42 +0000	[thread overview]
Message-ID: <20191102130742.GB6710@ACM> (raw)
In-Reply-To: <87y2wyefiq.fsf@marxist.se>

Hello, Stefan.

On Sat, Nov 02, 2019 at 11:31:09 +0100, Stefan Kangas wrote:
> 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.

Thanks for the quick test.  I'm closing the bug with this post.

> Best regards,
> Stefan Kangas

-- 
Alan Mackenzie (Nuremberg, Germany).





      reply	other threads:[~2019-11-02 13:07 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
2019-11-02 13:07       ` Alan Mackenzie [this message]

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=20191102130742.GB6710@ACM \
    --to=acm@muc.de \
    --cc=10149-done@debbugs.gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=stefan@marxist.se \
    /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).