[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: |
Sun, 07 Aug 2022 19:17:50 +0300 |
> Date: Sun, 7 Aug 2022 16:13:56 +0000
> Cc: emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
>
> > 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. This reliably hangs Emacs for me.
>
> Actually, when I try your recipe with make-string, it hangs for me, too,
> for quite a few minutes. Alternatively, when I do C-y, the insertion
> takes a little less than a second.
I actually tried the "C-y" recipe, and it hangs for me that way, too.
- New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/06
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/07
- Re: New optimisations for long raw strings in C++ Mode.,
Eli Zaretskii <=
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Stefan Monnier, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/09
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/10