GNU bug report logs -
#21695
25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 16 Oct 2015 21:51:01 UTC
Severity: wishlist
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #203 received at 21695 <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 12 Sep 2021 21:26:18 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: larsi <at> gnus.org, hmelman <at> gmail.com, 21695 <at> debbugs.gnu.org, rms <at> gnu.org
>
> > Even then, some people will frown on 20% slowdown of the startup.
>
> It is not a slowdown of the startup, it is a slowdown of setq
Init files use a lot of setq's, at least mine do.
> which becomes visible for the user when say 100 million setq's are
> executed.
Tell that to those who complain when startup takes more than 100 msec.
> Anyway, given your remark, I improved the patch. With this optimized
> version, there is no noticeable difference for variables without a plist
> (~40 nanoseconds for each call to setq, with and without the patch), and a
> small difference for variables with a plist (~40 nanoseconds for each call
> to setq without the patch, ~42 nanoseconds with the patch).
Thanks, this is much better. But I think this still needs some
discussion (and one is already going on), so let's wait until it
reaches some conclusions.
This bug report was last modified 3 years and 300 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.