emacs-devel
[Top][All Lists]
Advanced

[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:15:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> I would hope that Emacs is used not only to edit its own source code but
> also other code, for which these standards don't apply.

The open-paren-in-column-0-is-defun-start was a useful heuristic
optimization, which worked well in Lisp-derivatives and reasonably well
in C derivatives as well.  It was a good tradeoff (the occasional
inconvenience was small and infrequent compared to the performance
gains).

Nowadays, the performance-v-correctness balance is different, and we
have enough resources to use another optimization, based on caching,
which does not suffer from those inconveniences.


        Stefan




reply via email to

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