[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thinking about changed buffers

From: Dmitry Gutov
Subject: Re: Thinking about changed buffers
Date: Mon, 28 Mar 2016 22:32:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 03/28/2016 10:27 PM, Lars Magne Ingebrigtsen wrote:

Still seems problematic if your 5 year old takes 2.7s to compute it on
a 1GB file.  You don't want to freeze for 2s in the normal course of
editing just because you happen to cross the "original size" threshold.

Yeah, I don't see any way around that.

Don't use hashing. Use e.g. buffer-undo-list. We save enough data to return the buffer contents to the previous state, right? It should be possible to detect whether a given sequence of undo-s is a no-op.

reply via email to

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