[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New optimisations for long raw strings in C++ Mode.
From: |
Eli Zaretskii |
Subject: |
Re: New optimisations for long raw strings in C++ Mode. |
Date: |
Fri, 12 Aug 2022 15:52:09 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: acm@muc.de, emacs-devel@gnu.org
> Date: Fri, 12 Aug 2022 14:44:57 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Lars, can you post the file with which you see the hang? I suspect we
> > are not using the same contents.
>
> It's with this recipe:
>
> > > Simplest case to reproduce:
> >
> > > M-: (setq long-line-threshold nil)
> >
> > > Go to a cc buffer containing:
> >
> > > char long_line[] = R"foo(
> >
> > > )foo"
> >
> > > M-: (insert (make-string 1000000 ?y))
> >
> > > on the second line.
>
> And then `M->' -- this will hang Emacs (until you hit `C-g', so it's not
> a "hard" hang).
It doesn't hang here, even though my Emacs is unoptimized. It takes
maybe 10 sec or so.
- Re: New optimisations for long raw strings in C++ Mode., (continued)
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/14
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/15
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/12
- Re: New optimisations for long raw strings in C++ Mode.,
Eli Zaretskii <=
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/07