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 ms9.migadu.com with LMTPS id RwI7JRA2d2TYAQEASxT56A (envelope-from ) for ; Wed, 31 May 2023 13:57:04 +0200 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 OClsIxA2d2QQHgEAG6o9tA (envelope-from ) for ; Wed, 31 May 2023 13:57:04 +0200 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 591A83B851 for ; Wed, 31 May 2023 13:57:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4KRI-0005vt-AH; Wed, 31 May 2023 07:56:28 -0400 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 1q4KRD-0005ve-5h for guix-devel@gnu.org; Wed, 31 May 2023 07:56:24 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4KR7-0004X3-IJ for guix-devel@gnu.org; Wed, 31 May 2023 07:56:20 -0400 Date: Wed, 31 May 2023 11:55:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1685534174; x=1685793374; bh=9p9ovqzKQHPQGeDs3Laxy0DhUSZudUjHA7f/vLBQfZU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=N1bTd2s/2PzFq7JYob5uVaYOyrNxhlQjRNO7ehOTK3ZBwxlWzMsJAVwOQ8aRJd+u/ pb7oUemY3kT9r3CgQf8AdVYeGQ34SuLxzMbiYI2t3V3HaLMm89V+Nw3f3MhVntKh9A P7FAeCsi9POMoyOpQsET/FyxxE21REIZkqDMIOhTl7n7CqqMg9zTl5YPBGogrJs6Q6 he7qMi02I6Zj0Qw7I6kfVewZJzlWk85rYOC/XSrnGN15Bc3R+lhjjfgGD85iB3tr56 65v0+LC3zznM69pII8xeGzPLDAZQqyqv2OPFS+dMDKEtwXJBwIq7wKbwO9NsfZ3nOq +bxv6/XWWOExA== To: Csepp From: Attila Lendvai Cc: Simon Tournier , =?utf-8?Q?Ludovic_Court=C3=A8s?= , Andreas Enge , guix-devel@gnu.org Subject: =?utf-8?Q?Re:_Faster_=E2=80=9Cguix_search=E2=80=9D_(was_Re:_How_many_bytes_do_we_add_(closure_of_guix)_when_adding_one_new_package=3F)?= Message-ID: In-Reply-To: <87ttvska4n.fsf@riseup.net> References: <878rddooy4.fsf@gnu.org> <87r0r4uv4x.fsf@gmail.com> <87ttvzhxm9.fsf@gnu.org> <87cz2it3yk.fsf@gmail.com> <87r0qxvd9q.fsf@riseup.net> <86y1l5oric.fsf@gmail.com> <87ttvska4n.fsf@riseup.net> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=1685534224; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9p9ovqzKQHPQGeDs3Laxy0DhUSZudUjHA7f/vLBQfZU=; b=hI5Li9FO7/yhFugJ0MDbIbbZldudMqsBi8SPPtGxjdD2TvkQWTH7IAOnP0sON2YfpV05kb WlbZ9yAoZpLFCviOd7FBtEr203OhZzMHAI38m09RpLLoHiu7aC32e+1Gfs46AnHngmCzsR UxmFXWi3E9GAzU8c2hox6bQim2n/LLrxzmFzTIYL2jedOXJjLOooa9dR9wwXtafFMBuPdU Ref2CRnO0/bH/KB05SclR+vBy6+mP7VeNxUYax06JgYrN8rzEyJoyrhTtC+4bJqb/+doGt o0VrnD6vdxZRkLvTsCVbru82qiPoMVO4by29sXgWOrzLe0I8xY0VoIvfD5K9Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b="N1bTd2s/"; dmarc=none; 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=1685534224; a=rsa-sha256; cv=none; b=ljFcRaUY0oBGJocu2t9ay96/I3+J0Z5QiiDeWMeee3SATuVWm8/nw1VjD3pFNicG790ywb WfZL612rr5B/xnoPMv2BNInONJZ++162WbuJ+FQ4jIpJNARnsI1h8u8xRXo0I3R9o2u+pa KrUHevyDflMTuWhxtdjSi2Dq2LtXe2f3vZNh4TeqS+Tl38+FqdNpalerjYh+LqOcKJFqdb +DdQHyjmidfpfu8N/thbXlunhcaBZsQb8X5mGipKp2mohVPYcXOpCnmF73sP1JSLxTr8dG 81qJ7a3TbjlSLYD6OzBwbnJCfiF/79HpFVGkf6g81j1VVb5vOLgjgmk/Xqf2bg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b="N1bTd2s/"; dmarc=none; 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-Queue-Id: 591A83B851 X-Spam-Score: -4.08 X-TUID: kG4M/diW6LS7 > It makes zero sense to load full package definitions from disk for > most queries, such as guix search, with an SoA representation we > could load only the fields that we care about. i'd like to quickly point out something while we are discussing this: when i came to guix it was rather confusing that there two namespaces throu= gh which one can get hold of a package object: 1) module-global variables in the scheme module system 2) a reified repository of packages (i.e. a scheme hash table, and some loo= kup functions). these two namespaces are quite indepenedent from each other, and there are = no formal rules that govern the relationship between the two. there are scheme variable reference in some places, some others issue a cal= l to SPECIFICATION->PACKAGE, manifests do that implicitly (?), etc. my gut = feeling is that there is potential here for unification and simplification,= without limiting composability. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CThe greatest gift you can give someone is your own personal develo= pment. I used to say, 'If you=E2=80=99ll take care of me, I=E2=80=99ll take= care of you'. Now I say, 'I will take care of me for you, if you will take= care of you for me'.=E2=80=9D =09=E2=80=94 Jim Rohn