[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The current state of the comment-cache branch
From: |
Stefan Monnier |
Subject: |
Re: The current state of the comment-cache branch |
Date: |
Wed, 28 Dec 2016 12:10:31 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> Also in the latest case where a major slow down showed up in CC-mode,
>> the problem was reversed: CC-mode had some special code for when
>> open-paren-in-column-0-is-defun-start is non-nil (can't remember what
>> it was for), which was the cause of the slow down, IIRC.
> Bug #22884. This isn't quite accurate. The slowdown happened when C
> Mode thought that the "(" in the comment was a BOD and in repeated
> scanning to point (which is typically harmless) was scanning many times
> over ~40k characters.
The thing I don't understand in this explanation is that if
open-paren-in-column-0-is-defun-start is set to nil the problem did not
show up, yet setting it to nil means that the scanning was done over
*more* than 40K characters so it should have made the problem worse.
Stefan
- Re: The current state of the comment-cache branch, (continued)
- Re: The current state of the comment-cache branch, Stefan Monnier, 2016/12/28
- Re: The current state of the comment-cache branch, Eli Zaretskii, 2016/12/24
- Re: The current state of the comment-cache branch, Paul Eggert, 2016/12/24
- Re: The current state of the comment-cache branch, Stefan Monnier, 2016/12/25
- Re: The current state of the comment-cache branch, Eli Zaretskii, 2016/12/25
- Re: The current state of the comment-cache branch, Alan Mackenzie, 2016/12/28
- Re: The current state of the comment-cache branch, Stefan Monnier, 2016/12/28
- Re: The current state of the comment-cache branch,
Stefan Monnier <=
- Re: The current state of the comment-cache branch, Alan Mackenzie, 2016/12/27
- Re: The current state of the comment-cache branch, Eli Zaretskii, 2016/12/28
- Re: The current state of the comment-cache branch, Alan Mackenzie, 2016/12/28
Re: The current state of the comment-cache branch, Richard Stallman, 2016/12/24