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: MPS: weak hash tables Date: Tue, 02 Jul 2024 16:42:53 +0300 Message-ID: <86zfqzc3ky.fsf@gnu.org> References: <2syUQ04IbTWqDJjMfKSrtzWMWmFGq1GIOwSxv_r6BEyNDtk7ADADKjZk-90g9tSS9SKWppkiq6_zihUtsoE1spiopaOI6-v9inQrGxwMyCs=@protonmail.com> <86ed8cc4un.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24286"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@protonmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 02 15:43:44 2024 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 1sOdnJ-00063h-Vh for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jul 2024 15:43:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOdmc-0000zx-9o; Tue, 02 Jul 2024 09:42:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOdmb-0000zk-0E for emacs-devel@gnu.org; Tue, 02 Jul 2024 09:42:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOdma-00084D-MQ; Tue, 02 Jul 2024 09:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hpfVua+s8FcfyoIRJ//XNoaMkUXjIGrVYSp1spBE2Ck=; b=dpOaZW4cQr6DbgN00eG+ oLh8xo7aYUpyfV3wb7d5idyvE2b8Mp/mwufrVXuic5CON3eoXbg0Hk5wURG1HAKosaNIzeXWyyk6J Ui8OW4ldNmOcq/L2c0CCv1NASNYgWFk8XhkT39hXn63PvUxzTO9U3VtIf/GqCk81ecarg5JSQnYWR CmXuwbK4+mDCfL3bSR1+iR1yv/6KacLdQyqra0m+oQb9+h+TPK3xVThNQznabHTekCzChnwm+jF7C 8oRSUB2/bXKRHBEMVNogzkgFDlEd+d5w3hnS2C2Kgr7sb5UhKCvQh+pjxIaDAg9+v9G6vW6FLFQFY xe4QFqqjJdbe2w==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Tue, 02 Jul 2024 15:16:54 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321155 Archived-At: > From: Gerd Möllmann > Cc: pipcet@protonmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org > Date: Tue, 02 Jul 2024 15:16:54 +0200 > > Eli Zaretskii writes: > > > Do we even use weak objects in Emacs on this branch? If we do, what > > do we use them for? > > Yes, Pip's weak hash tables, and vectors for BUF_MARKERS. So I guess they will work better in the 32-bit builds than in the 64-bit ones? Because AFAIU what that text says is that they implemented this feature only in the IA-32 builds, and in the other cases the behavior is sub-optimal.