[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64391: more info
From: |
Andrew Cohen |
Subject: |
bug#64391: more info |
Date: |
Sat, 01 Jul 2023 12:59:20 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Mattias had flagged this code at line 2948 in editfns.c as a likely culprit.
/* Record the accessible range of the buffer when narrow-to-region
is called, that is, before applying the narrowing. That
information is used only by internal--label-restriction. */
Fset (Qoutermost_restriction, list3 (Qoutermost_restriction,
Fpoint_min_marker (),
Fpoint_max_marker ()));
Just for fun I simply commented it out (since the test code doesn't use
labeled restrictions) and ran the test code, and the problem disappears:
Emacs 30.0.50
Modify after narrowing: 0.076 s elapsed, 0 GCs, 0.000 s GC, 0.076 s non-GC
Modify before narrowing: 0.070 s elapsed, 0 GCs, 0.000 s GC, 0.070 s non-GC
--
Andrew Cohen
- bug#64391: more info,
Andrew Cohen <=
- bug#64391: buffer narrowing slowdown regression in emacs 29, Mattias Engdegård, 2023/07/01
- bug#64391: buffer narrowing slowdown regression in emacs 29, Eli Zaretskii, 2023/07/01
- bug#64391: buffer narrowing slowdown regression in emacs 29, Mattias Engdegård, 2023/07/01
- bug#64391: buffer narrowing slowdown regression in emacs 29, Gregory Heytings, 2023/07/02
- bug#64391: buffer narrowing slowdown regression in emacs 29, Eli Zaretskii, 2023/07/05
- bug#64391: buffer narrowing slowdown regression in emacs 29, Gregory Heytings, 2023/07/06
- bug#64391: buffer narrowing slowdown regression in emacs 29, Gregory Heytings, 2023/07/06
- bug#64391: buffer narrowing slowdown regression in emacs 29, Eli Zaretskii, 2023/07/06
- bug#64391: buffer narrowing slowdown regression in emacs 29, Gregory Heytings, 2023/07/06
- bug#64391: buffer narrowing slowdown regression in emacs 29, Mattias Engdegård, 2023/07/07