[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug #25608 and the comment-cache branch
From: |
John Wiegley |
Subject: |
Re: Bug #25608 and the comment-cache branch |
Date: |
Sat, 11 Feb 2017 18:53:58 -0800 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.91 (darwin) |
>>>>> "DG" == Dmitry Gutov <address@hidden> writes:
GD> One normally adds an alternative source of truth (i.e. a "cache") to fix a
DG> significant performance problem, when one really can't do so otherwise.
DG> It seems we agree now that comment-cache's existence can't be justified by
GD> performance considerations.
DG> Cache invalidation is a known hard problem in CS, so we generally don't
GD> want to have extra caches.
This argument right here is why I would vote against comment-cache: I'd rather
have parens-in-comments-at-column-0 parsed incorrectly -- at least, until
syntax-ppss is fixed -- than to add another cache just to fix this problem.
Unless I've missed something...
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
- Re: Bug #25608 and the comment-cache branch, (continued)
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/14
- Re: Bug #25608 and the comment-cache branch, Dmitry Gutov, 2017/02/21
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/21
- Re: Bug #25608 and the comment-cache branch, Dmitry Gutov, 2017/02/23
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/23
- Re: Bug #25608 and the comment-cache branch, Tom Tromey, 2017/02/24
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/14
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/16
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/18
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/18
- Re: Bug #25608 and the comment-cache branch,
John Wiegley <=
- Re: Bug #25608 and the comment-cache branch, Elias Mårtenson, 2017/02/12
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/12
- Re: Bug #25608 and the comment-cache branch, martin rudalics, 2017/02/12
- Re: Bug #25608 and the comment-cache branch, Andreas Röhler, 2017/02/12
- Re: Bug #25608 and the comment-cache branch, Eli Zaretskii, 2017/02/12
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/05
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/05
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/06
- Re: Bug #25608 and the comment-cache branch, Eli Zaretskii, 2017/02/08
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/11