From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: guix package is slow Date: Sun, 01 Jul 2018 11:34:13 -0400 Message-ID: <87tvpjug0a.fsf@gmail.com> References: <8a4e9b4cb730094a84ef3ff29233c6dd@riseup.net> <87vaa0gutr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZeMk-0007jE-U5 for guix-devel@gnu.org; Sun, 01 Jul 2018 11:34:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZeMh-00023G-RE for guix-devel@gnu.org; Sun, 01 Jul 2018 11:34:18 -0400 Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:39935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZeMh-00022d-LW for guix-devel@gnu.org; Sun, 01 Jul 2018 11:34:15 -0400 Received: by mail-io0-x22d.google.com with SMTP id e13-v6so12605958iof.6 for ; Sun, 01 Jul 2018 08:34:15 -0700 (PDT) In-Reply-To: <87vaa0gutr.fsf@gmail.com> (Pierre Neidhardt's message of "Sat, 30 Jun 2018 17:25:36 +0200") 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel Hello Pierre, Pierre Neidhardt writes: > I've implemented a rather trivial cache in `helm-system-packages' (an > Emacs package). > the cache is created (or refreshed if it's older than the > ~/.config/guix/current). > Cache generation takes a few seconds, but from then on everything is > instantaneous. > > It does not support searching within descriptions however. Could you elaborate on how you create and then use such cache? Is it useful when used inside Emacs only, say in a *shell* buffer? If so, what does it bring over using emacs-guix, which caches in memory the package definitions? Thanks, Maxim