From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really? Date: Mon, 13 Sep 2021 14:31:41 +0300 Message-ID: <83wnnkemoy.fsf@gnu.org> References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <838s0fpixr.fsf@gnu.org> <83k0jtr45c.fsf@gnu.org> <87v93avtoe.fsf@gnus.org> <87r1dyvtav.fsf@gnus.org> <87mtolx6de.fsf@gnus.org> <87ilz9x5c8.fsf@gnus.org> <87y284rb1z.fsf@gnus.org> <0d48a23084a8b0435f37@heytings.org> <83h7eqf9wx.fsf@gnu.org> <0d48a230848de1d1b255@heytings.org> <83ee9uf82a.fsf@gnu.org> <0d48a23084cf7a569554@heytings.org> <83czpef6hj.fsf@gnu.org> <0d48a2308486fe146f77@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, hmelman@gmail.com, 21695@debbugs.gnu.org, rms@gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 13 13:33:26 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPkDG-00019y-6G for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Sep 2021 13:33:26 +0200 Original-Received: from localhost ([::1]:46344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPkDF-0002yY-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Sep 2021 07:33:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPkCs-0002wP-Tn for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2021 07:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPkCs-0004W8-Ko for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2021 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPkCs-0005EY-E5 for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2021 07:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Sep 2021 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21695 X-GNU-PR-Package: emacs Original-Received: via spool by 21695-submit@debbugs.gnu.org id=B21695.163153272518529 (code B ref 21695); Mon, 13 Sep 2021 11:33:02 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 13 Sep 2021 11:32:05 +0000 Original-Received: from localhost ([127.0.0.1]:44509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPkBx-0004oT-1X for submit@debbugs.gnu.org; Mon, 13 Sep 2021 07:32:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPkBu-0004hr-2w for 21695@debbugs.gnu.org; Mon, 13 Sep 2021 07:32:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33250) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPkBn-0003na-UR; Mon, 13 Sep 2021 07:31:55 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2619 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPkBg-0003Os-5d; Mon, 13 Sep 2021 07:31:49 -0400 In-Reply-To: <0d48a2308486fe146f77@heytings.org> (message from Gregory Heytings on Sun, 12 Sep 2021 21:26:18 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214214 Archived-At: > Date: Sun, 12 Sep 2021 21:26:18 +0000 > From: Gregory Heytings > cc: larsi@gnus.org, hmelman@gmail.com, 21695@debbugs.gnu.org, rms@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.