From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: maphash Date: Tue, 01 Oct 2024 14:36:13 -0400 Message-ID: References: <875xr3h5g9.fsf@gmail.com> <86wmiw6ueu.fsf@gnu.org> <42AF49E0-6085-48E8-B3FE-706E97457E06@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22084"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Helmut Eller , emacs-devel@gnu.org To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 01 20:37:11 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 1svhkE-0005bF-RD for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Oct 2024 20:37:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svhjX-00036Z-Il; Tue, 01 Oct 2024 14:36:28 -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 1svhjR-00036P-AX for emacs-devel@gnu.org; Tue, 01 Oct 2024 14:36:21 -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 1svhjP-0002nC-Ir; Tue, 01 Oct 2024 14:36:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=CNbKxITTqFM6ZsfHeMIoEojaoFaTKzNeHg5iG3OdkV4=; b=PtQf/7PwRCBeB5lbrqt5 BFweU8NaLPxpLUcxZTNMKqEwKeskGG5xoWus3Q465zWYwU/xqMmBVT8QXoPAWmnrji+MgIY2Nin1c Gzfzb/MQ8hluKgSKenHN9e0DGxI2hbBgb5BMKAhaF/6EOvGkm+A0fqYc3XOLiCHfG8IZOatM/oJrJ zkwEP/JgacYuprhAgUJnRcucV/xJyk4zwd9wuVaoiF5xN9QSHsomp2Iy+DFRZG0glHrosW0umgAOD /6lI7xwp/crw4pFfnDfqMlSjIdzYqCMS4KndgjZhhCv5nBwjbqoqvVNrhBabjPeRlU6SMW+gF+ix/ j3mIOoOpmnvSFg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1svhjK-0002Sq-4u; Tue, 01 Oct 2024 14:36:16 -0400 In-Reply-To: <42AF49E0-6085-48E8-B3FE-706E97457E06@gmail.com> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Tue, 1 Oct 2024 18:59:03 +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:324240 Archived-At: Mattias Engdeg=C3=A5rd writes: > 1 okt. 2024 kl. 18.31 skrev Andrea Corallo : > >> Okay should be fixed with 372ce6adbf3 in master. > > Thank you! Would you also take a look at the four DOHASH_SAFE uses in > comp.c, and see if there is any possibility of mutation of the tables > iterated over? Then they could be changed to DOHASH. Thanks I think the use of DOHASH_SAFE is correct there. Andrea