From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Time to merge scratch/correct-warning-pos into master, perhaps? Date: Sun, 16 Jan 2022 12:13:43 -0500 Message-ID: References: <83mtjwzwkb.fsf@gnu.org> <87r198ytog.fsf@gnus.org> <87zgnvyb5y.fsf@gnus.org> <924840B9-C416-42E5-A436-D21F16D058AC@acm.org> <4592D7BC-289F-4A86-82D8-453FC4C7C086@acm.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31525"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Alan Mackenzie , Lars Ingebrigtsen , Eli Zaretskii , emacs-devel@gnu.org To: Mattias =?windows-1252?Q?Engdeg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 16 18:14:48 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n9979-00080M-Pw for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 18:14:47 +0100 Original-Received: from localhost ([::1]:47026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9978-0002Nx-NX for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 12:14:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n996H-0001iA-5H for emacs-devel@gnu.org; Sun, 16 Jan 2022 12:13:53 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n996F-00015p-8h; Sun, 16 Jan 2022 12:13:52 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9A31C1001A2; Sun, 16 Jan 2022 12:13:49 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1E8D71000F8; Sun, 16 Jan 2022 12:13:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1642353228; bh=AzYEiJtfbMwwWw4QDCHbxTGkEzmCqTEQexlA03rPKA0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EiwMZyMlzET6jtkA+l25I1MSd+TPYr9p80b/EZ0xLd6RdfFdAH6JuhC9TyOOYTibx SHQqaDQ8rFPugAer5vHPTWSxp6UmtyLkISwqg+jc+MK1O4LZYMl4bTIIqYl+30hhNa WunxLkayiXaUYv1ZwDBy8yMaMJaolW3AmnahTdbqDsoQwJk5PKMftKfRUx+NGl7U+9 E4EeVO4cCFF/Bl0x2nerZEfDtWuMu5sBxFISy4l8Hzk7Ll7QoM2vsBKhpDbYPtb8iD ecuY9yxio7CaI8MnPh/D9Vo0zXmnRJ9NHxOzppPTr9K8GGSSoYdiN6gz7ICD9UzsGS wsq8rVMM1pOhw== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B79C71204E9; Sun, 16 Jan 2022 12:13:47 -0500 (EST) In-Reply-To: <4592D7BC-289F-4A86-82D8-453FC4C7C086@acm.org> ("Mattias =?windows-1252?Q?Engdeg=E5rd=22's?= message of "Sun, 16 Jan 2022 17:52:53 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284838 Archived-At: > The point of the micro-benchmark was to measure `eq` since that is what has > become more expensive, and we want to know how much. It uses `memq` as a way > to reducing other factors, but obviously `memq` itself is very much of > interest as well. Note also that `memq` will tend to use EQ in ways that usually return false, IOW in ways that exercise the slower code path more than the fast path. Stefan