bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12314: 24.2.50; `add-to-history': use `setq' with `delete'


From: Stefan Monnier
Subject: bug#12314: 24.2.50; `add-to-history': use `setq' with `delete'
Date: Sun, 09 Sep 2012 10:44:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

>> Because it avoids memory allocation.  I.e. 99% of the uses of
>> delete/delq/nconc are simple optimizations.
> I meant "why does it matter FOR THE USER that the modification was
> destructive?"  Users don't care about optimizations, they only care
> about performance.

Because this optimization improves performance,


        Stefan





reply via email to

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