From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by sourceware.org (Postfix) with ESMTPS id 5685F3858D28 for ; Tue, 18 Jan 2022 17:15:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5685F3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=seketeli.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org Received: (Authenticated sender: dodji@seketeli.org) by mail.gandi.net (Postfix) with ESMTPSA id 77B96C0003; Tue, 18 Jan 2022 17:15:45 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 1552A581891; Tue, 18 Jan 2022 18:15:44 +0100 (CET) From: Dodji Seketeli To: Matthias Maennich Cc: libabigail@sourceware.org, gprocida@google.com, kernel-team@android.com Subject: Re: [PATCH 3/5] XML writer: track emitted types by bare pointer Organization: Me, myself and I References: <20211203114622.2944173-1-maennich@google.com> <20211203114622.2944173-4-maennich@google.com> X-Operating-System: Fedora 36 X-URL: http://www.seketeli.net/~dodji Date: Tue, 18 Jan 2022 18:15:44 +0100 In-Reply-To: <20211203114622.2944173-4-maennich@google.com> (Matthias Maennich's message of "Fri, 3 Dec 2021 11:46:21 +0000") Message-ID: <87wnixarsv.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2022 17:15:48 -0000 Matthias Maennich a =C3=A9crit: > This is a performance and safety improvement made possible by the > previous changes which ensure that the same pointers are inserted and > looked up. > > This essentially removes the now unnecessary deep comparison. > > * src/abg-writer.cc (type_ptr_set_type): Change typedef > container type to use default equality and hashing for pointer > keys. > (fn_type_ptr_set_type): Likewise. > > Reviewed-by: Giuliano Procida > Signed-off-by: Matthias Maennich Applied to master, thanks! [...] Cheers, --=20 Dodji