[Top][All Lists]

[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]