From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4CkNOWVh+mPRXwEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 20:28:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QGAxOGVh+mOpGwEAG6o9tA (envelope-from ) for ; Sat, 25 Feb 2023 20:28:37 +0100 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 B59742CB8 for ; Sat, 25 Feb 2023 20:28:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pW0DQ-0000B7-Jf; Sat, 25 Feb 2023 14:28:16 -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 1pW0DP-0000Az-Vl for guix-devel@gnu.org; Sat, 25 Feb 2023 14:28:15 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pW0DO-000450-8c; Sat, 25 Feb 2023 14:28:15 -0500 Received: by mail-lf1-x134.google.com with SMTP id n2so3367318lfb.12; Sat, 25 Feb 2023 11:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K+8fAhVwxoGA1jRNhGN1qzxhhYC7Aq27QPufcPQhuu4=; b=dxWtgteoXrZ8xuzWDaR67muLFlskc7gAn19bqoimjlbP8nWZ0HdIXp+GAehNqv3nLw XhjeiGVwiVlZhqq66iJ+NNpdiFm4cHu8oqs2136xxX2P9+zXhR1uhX6DVieH/1+Q62Gk 6g9IbvcQ8jlu94zXY6hg0A6amrP1qnbgDZiTwVlzxJvvt3LNk//VPLdeEyk3Njn4adUk rpqT/qPie1SjFVjvcphBS7nJ3W2zAntdvz66EtPJ2fDcICNiHqrCPSRI4D692WyPitte lZEa9CvWbWxiF38+cKW7dtA29klyE5cqbn9IboWZc47tcAWDEe6o5qtiEJcBrVO93YFL f/Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K+8fAhVwxoGA1jRNhGN1qzxhhYC7Aq27QPufcPQhuu4=; b=BfILFPc64tXDoeup4FH9qR4fiar/D1f+AZNxLBABqK+ATgO8BdTE5pX3syOi82OU9H FwkL8NsB1EEfoWa8fOsPTHaq9Ao4TjFiBOSylWC21prdM3nTU1vo88wx0CMEL2uzq0zt 4imGbbbnMlG9bU7RVlbCvSZSvicAwU0eg5uCi3lRiy6vvIaBgEoqSKdeB0Rnag6poX1Z RJXgROYrDK5oHAGAJ7NahXPz/chrq47jZitSs9GvmqjQ5nKDrXsAGIDp/WGxfTKkgc2d lwPQgsi2iefrAoLtEhVmSsAYInUAXWlwkp0ei0tj+9In2Cfg4zVxsnkTrooY0BBSMdYi pLxw== X-Gm-Message-State: AO0yUKWgTmO3O4+ftNjc7cDFSQT0ClymSKLMtawiW9/XOClqbnKdcbIW KDGB0y/8fM3R/EkwkP/NfeJcnm5Nccuoh0Pi1hCiVrsB X-Google-Smtp-Source: AK7set9qPjaV2pDhLw4KH+MqwDviTHMSieCZPHNXMEtJmg4T68LlollH2HHFMyVXLLRsaLZvkAqwxcj0iKAwbhbIJdw= X-Received: by 2002:a05:6512:ea7:b0:4db:1809:29a1 with SMTP id bi39-20020a0565120ea700b004db180929a1mr1604746lfb.2.1677353289767; Sat, 25 Feb 2023 11:28:09 -0800 (PST) MIME-Version: 1.0 References: <167610269975.14308.10330520524841229243@vcs2.savannah.gnu.org> <87cz6g5t87.fsf@cbaines.net> <87zg9kgz2i.fsf@trop.in> <874jrsqh0x.fsf@trop.in> <87bklzn3jc.fsf@gnu.org> <871qms1lne.fsf@gmail.com> <87k00ad3xg.fsf@gnu.org> <86fsayukiv.fsf@gmail.com> <87h6v9wr8f.fsf@gnu.org> In-Reply-To: <87h6v9wr8f.fsf@gnu.org> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Sat, 25 Feb 2023 20:27:58 +0100 Message-ID: Subject: =?UTF-8?Q?Re=3A_=E2=80=99inherit=E2=80=99_and_list=2Ddependent_=28was_Re=3A_branch?= =?UTF-8?Q?_master_updated=3A_gnu=3A_emacs=3A_Add_TREE=5FSITTER=5FGRAMMAR=5FPATH_su?= =?UTF-8?Q?pport=2E=29?= To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Simon Tournier , Andrew Tropin , Christopher Baines , Guix Devel Content-Type: multipart/alternative; boundary="000000000000ffe13905f58b3e25" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=gboskovits@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677353317; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=K+8fAhVwxoGA1jRNhGN1qzxhhYC7Aq27QPufcPQhuu4=; b=M9sPdzACGIhDRd/eiapcD/o34DpThbv8YN42BR+obLAcQLMkeI5p59Q6/UXSKJ5UQ2BE5f PwhHZW6wYTTXxSGBZ/ufZxRxoNOQaypPbnyUDcfQ//hAFlEccyqjZhkeWI7VgszF/qew57 d7IvfeABasAVwnLw1IcPLD9WlLT09tubbOoeJSOW0sn+r67ghisVFuueHwNwaphoYs101p ebwIvQFJlwsQwq2x5tt543mBVhi9FbiE7HKYauAEl/rgzbWwLNFn4hdnybBLfILiGC5wcJ yrQnkOvk0G9DGTs9G+oeToULaE9vopkjtMtcjPC06iuxEOym5aq7kMA9Rlj4Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dxWtgteo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677353317; a=rsa-sha256; cv=none; b=pMTsCC+HUzq2JNpVGIP9jAqKTRbcqLWByU6V+iVEizyH8pjSVW7muZpIW5qN+wDCqFnrIs XkA+02MLV+hxjljROfQ0yb340CYZGAiIMWyyHtqL3sVksS7KJ3PeSIvNMRShSKGyiRIayQ xaOcF2bBOH0Idc/AIexSGvjuHj/E1p+odSNl4cu/QeLWrCTCr4fd959CIARpwDdN84hck2 UKD6wV+ZLMSiG15ozrVWv0fB4uRrKGA+CHSSwjErSF0EUP5RJhEcOAQNvTOhv4VKBk9vrB GL6sSZXuZb5aR0iTfxrvtzrmB+23lKwhi5a+1kg1lYZmFy9x906ZaaGacyN8VA== X-Spam-Score: -4.90 X-Migadu-Queue-Id: B59742CB8 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dxWtgteo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.90 X-TUID: GETAqKkJ5eGs --000000000000ffe13905f58b3e25 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Ludovic Court=C3=A8s ezt =C3=ADrta (id=C5=91pont: 2023. febr= . 25., Szo 19:10): > Simon Tournier skribis: > > > On Tue, 21 Feb 2023 at 23:55, Ludovic Court=C3=A8s wrote= : > > > >>> However, we could imagine to use =E2=80=99package/inherit=E2=80=99 or= another variant > >>> instead of plain =E2=80=99inherit=E2=80=99 for creating these inherit= ed packages. > Doing > >>> so, we could collect some information, e.g., in the field =E2=80=99pr= operties=E2=80=99, > >>> which could be used then by --list-dependent. > >> > >> In effect that means keeping back the chain of inherited objects, whic= h > >> would lead to space leaks. > > > > [...] > > > >> I agree it=E2=80=99d be nice to solve. I can=E2=80=99t think of a goo= d way to do that > >> though. > > > > What do you mean by =E2=80=9Cspace leaks=E2=80=9D? > > Unbounded memory usage: each copy of an object is linked back to its > =E2=80=9Cparent=E2=80=9D (=E2=80=9Cprevious generation=E2=80=9D). > How much heavier is this than the links to inputs? Regards, g_bor > > Ludo=E2=80=99. > > --000000000000ffe13905f58b3e25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Ludovic Court=C3=A8s <ludo@gnu.org> ezt =C3=ADrta (id=C5=91pont: 2023. febr. 25.,= Szo 19:10):
Simon Tournier <zimon.toutoune@gmail.com> skribis:

> On Tue, 21 Feb 2023 at 23:55, Ludovic Court=C3=A8s <ludo@gnu.org> = wrote:
>
>>> However, we could imagine to use =E2=80=99package/inherit=E2= =80=99 or another variant
>>> instead of plain =E2=80=99inherit=E2=80=99 for creating these = inherited packages.=C2=A0 Doing
>>> so, we could collect some information, e.g., in the field =E2= =80=99properties=E2=80=99,
>>> which could be used then by --list-dependent.
>>
>> In effect that means keeping back the chain of inherited objects, = which
>> would lead to space leaks.
>
> [...]
>
>> I agree it=E2=80=99d be nice to solve.=C2=A0 I can=E2=80=99t think= of a good way to do that
>> though.
>
> What do you mean by =E2=80=9Cspace leaks=E2=80=9D?

Unbounded memory usage: each copy of an object is linked back to its
=E2=80=9Cparent=E2=80=9D (=E2=80=9Cprevious generation=E2=80=9D).
How much heavier is this than the link= s to inputs?

Regards, g_= bor

Ludo=E2=80=99.

--000000000000ffe13905f58b3e25--