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.devel Subject: Re: Time to merge scratch/correct-warning-pos into master, perhaps? Date: Sat, 05 Feb 2022 10:17:36 +0200 Message-ID: <83v8xt20db.fsf@gnu.org> References: <6a5bb5a08b6337d733c5@heytings.org> <83leyq3kfk.fsf@gnu.org> <83a6f631k3.fsf@gnu.org> <838ruq2z5t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10473"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, mattiase@acm.org, gregory@heytings.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 05 09:20:19 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 1nGGIt-0002Z9-73 for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Feb 2022 09:20:19 +0100 Original-Received: from localhost ([::1]:46928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGGIr-0004rR-PZ for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Feb 2022 03:20:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGGGf-00048K-O1 for emacs-devel@gnu.org; Sat, 05 Feb 2022 03:18:03 -0500 Original-Received: from [2001:470:142:3::e] (port=54828 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGGGd-000364-4o; Sat, 05 Feb 2022 03:17:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kqxYiLW6othomE2qJijhDsMv8bxHLfgVh9smCdqITH4=; b=UyHd+kcCXf3d 4mBNE0VDkVnfa5zJXbawucXExhzkP1BMHKhJ/+mcNf0qdMOQap1OqOL58xjtA89jXpDuuqc3dGkQM PdwQTXLNFSpRTTzPvY3Hrok8EKtyBOFfeBQErmTiKVocc0YN2Ty3JVvdx+8/vyde+fBTZJMuD+iBb mWE62ESq1lxj50tZwaLrRPSI8rOEh5L5X3v+HEqeqaJrgOj+BKNsS1+h5oMegehr6ZzDVWJD+HViZ mOwPBGF9LkRfpzmO3o/nu7Pzch59YpR+gOgo+AC13TaJX8dgqJF+PFhNeWsmdWFRglZHjcRhzyZ+/ f2AGRajgKzFGOPmvFWnzXg==; Original-Received: from [87.69.77.57] (port=2301 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 1nGGGb-0006Ku-2H; Sat, 05 Feb 2022 03:17:58 -0500 In-Reply-To: (message from Alan Mackenzie on Fri, 4 Feb 2022 21:24:56 +0000) 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:285890 Archived-At: > Date: Fri, 4 Feb 2022 21:24:56 +0000 > Cc: gregory@heytings.org, monnier@iro.umontreal.ca, mattiase@acm.org, > larsi@gnus.org, emacs-devel@gnu.org > From: Alan Mackenzie > > > First, are symbols-with-pos supposed to happen in bytecode that > > doesn't deal with byte compilation? > > Symbols with pos are intended to be used only in compilation, native- as > well as byte-. They mustn't be output to .elc files. So that would mean the slowdown of EQ is due to the cases where the objects are not-EQ? Where are the numbers that show how much slower is the current EQ, for the case of EQ and not-EQ objects? > > If yes, why/when would such objects appear in GP bytecode? > > What does "GP" mean here, please? General Purpose. > > > > What is there in a symbol-with-pos except the symbol and the position? > > > > There is the symbol, the position, and a pseudovector header. > > > The pseudovector part is not needed if we just extend Lisp_Symbol to > > have an additional field 'position'. > > Yes. I'm not sure we can do this, though. Let's revisit that once we understand the slowdown of EQ better and more quantitatively.