From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6L2jM3YvnGVmHQEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 18:23:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id jQfXMHYvnGU0QgEAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 18:23:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Qx6lE1l5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704734582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PTQ1mRNSVVdL/eROxysbOX6oock2xMkZ2s1XT18Mpyc=; b=fqBwIOxqQnvkZTavmtmvcnTydROY7CV9/eS0mqXTDxrYg3Xv38wnud5e1PGZbojbzqXHWb dMxTIGQea0X9Pq5UVJxOLXsK3yzXgj20W0+5o6+5S65UIzyXYFzePXz15OeeTR0jO0xlv3 fTtCEtn141SQ+MOHfDP+JjeZIssYDhGk8beozcRTVXsAd8Tbkmb+Nn0v398hqQYez986C3 GoVtpwziPIKHrY5zM3KmFzgBe6v1ah292U5Ij42H6JzhZvjreXd5J46XMz6PqFUAc9Pfhy u2zFXbr7CxpNA1ItDH9afNl41wVIh2zTeGrSv1F87ecCGxXjzzDcabM9frCh4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Qx6lE1l5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704734582; a=rsa-sha256; cv=none; b=ahLYdjfeQPevLFtVhp3/2Z4lOQs84N9+iRBK2RnhYFUl1pfqHTuSZeMNODT8FvZ1FVf/3M VRMggX2NMDHUDVqAWe7STlWJyA42zYAt6A5X1f3XthLPciQE9yBaUQcZESnLB5lDt+CJuJ 5afRjI7YiW8J181bb+ZMpWvvmsETLPeab2PZ/pwvgBhw68QI/ubeYa2Hhc2+zosDY2Ln6g 42FLO5uJXc0SEOaiznm7JhwIyKC9ts1OTB+ydL7gKfGApBPL+BS4KdwG32bziG9HV3maAK hav20/KD2JzU0+LajNlb4k7FOAHA1/ib6HS9KznJlfyPD0Um8GJVEUbQTVXIzw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9991050541 for ; Mon, 8 Jan 2024 18:23:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMtKz-0007Ie-KY; Mon, 08 Jan 2024 12:22:57 -0500 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 1rMtKy-0007IW-5N for guix-patches@gnu.org; Mon, 08 Jan 2024 12:22:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMtKx-00035k-Tf for guix-patches@gnu.org; Mon, 08 Jan 2024 12:22:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMtL4-0001gs-5l for guix-patches@gnu.org; Mon, 08 Jan 2024 12:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68266] [PATCH 1/7] gnu: Memozise make-ld-wrapper results. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 68266@debbugs.gnu.org Received: via spool by 68266-submit@debbugs.gnu.org id=B68266.17047345646473 (code B ref 68266); Mon, 08 Jan 2024 17:23:02 +0000 Received: (at 68266) by debbugs.gnu.org; 8 Jan 2024 17:22:44 +0000 Received: from localhost ([127.0.0.1]:37461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMtKm-0001gL-BH for submit@debbugs.gnu.org; Mon, 08 Jan 2024 12:22:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMtKk-0001g6-JI for 68266@debbugs.gnu.org; Mon, 08 Jan 2024 12:22:42 -0500 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 1rMtKY-0002vN-VZ; Mon, 08 Jan 2024 12:22:30 -0500 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=PTQ1mRNSVVdL/eROxysbOX6oock2xMkZ2s1XT18Mpyc=; b=Qx6lE1l5cN9DoYWZaLvs Gn/xyKEijSK7Uw1jq1Ypo1ycaZhqHnFOs1NHnqOIS66c4yhZlWxlViwDxf43vE+lpFSA7Ts8pAZCW Y5TjruyxzC8oZY/FcUmVCAtbLqARUQfRFX557oyT216Ev2Up+eKDxbdTexumBc7lA6t52YTGkfgGM 0t9dHrgyX0NoLMycax6hL7XsRYCIfoQXBs8C4+I2UqWDtFXtjC8SaWipILR9YiQYnxXr9r0DggcVd nTbykwEttxsjak/3ACTFlix0hwk/RdXQmzvW1Q43hAO+LSXwKXHfX0xV+s6BuMjKcLoiRz+9PL2ry RHVNwT02QvpcWA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <13f83a0db585e81572240e35dfef473aa73fe996.1704472849.git.mail@cbaines.net> (Christopher Baines's message of "Fri, 5 Jan 2024 16:40:43 +0000") References: <87plyfrb2x.fsf@cbaines.net> <13f83a0db585e81572240e35dfef473aa73fe996.1704472849.git.mail@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 =?UTF-8?Q?Niv=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Marbre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Jan 2024 18:22:28 +0100 Message-ID: <87v8833fl7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.99 X-Spam-Score: -6.99 X-Migadu-Queue-Id: 9991050541 X-TUID: jUH0Nemz4IRL Hi, Christopher Baines skribis: > To ensure that it just returns a single package record for some given > arguments, as this helps to avoid poor performance of the store connection > object cache. > > * gnu/packages/base.scm (make-ld-wrapper): Move code to > make-ld-wrapper/implementation and call it. > (make-ld-wrapper/implementation) New procedure. > > Change-Id: Id6fc805a4a7ffbc5ff0a5174eafcdf2c7c46854d Do you have figures before and after the change? The reason I=E2=80=99m asking is that (gnu packages commencement) arranges = to not call =E2=80=98make-ld-wrapper=E2=80=99 repeatedly already. For instanc= e, there=E2=80=99s: (define-public ld-wrapper ;; The final 'ld' wrapper, which uses the final Guile and Binutils. (make-ld-wrapper "ld-wrapper" #:binutils binutils-final #:guile guile-final #:bash bash-final)) and from there on we manipulate a single record. Thanks, Ludo=E2=80=99.