From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: guix package is slow Date: Sat, 30 Jun 2018 17:25:36 +0200 Message-ID: <87vaa0gutr.fsf@gmail.com> References: <8a4e9b4cb730094a84ef3ff29233c6dd@riseup.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZHkw-0008KD-1O for guix-devel@gnu.org; Sat, 30 Jun 2018 11:25:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZHkr-0006qC-5I for guix-devel@gnu.org; Sat, 30 Jun 2018 11:25:46 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZHkq-0006oC-UB for guix-devel@gnu.org; Sat, 30 Jun 2018 11:25:41 -0400 Received: by mail-wm0-x234.google.com with SMTP id n17-v6so4744749wmh.2 for ; Sat, 30 Jun 2018 08:25:40 -0700 (PDT) In-reply-to: <8a4e9b4cb730094a84ef3ff29233c6dd@riseup.net> 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: swedebugia@riseup.net Cc: guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAls3oPAACgkQm9z0l6S7 zH86RggAkCdg6XYKUqbYrd0eXjsEUJTUjMgO0t47sOrBklRz+llhmwymWxxGKjWf HwtYuJTjV/Bta9b7vAxbOlKupLQChdhAQ2Xy7Y5keW3Scp7m6uDkz58VM2XgXYk1 9mIsFY52AmbCPp+EeGO9oVqeWQljASTxoxRQ4OO6jZdwveYCqMA8wcEHd6XcYrii g6seFaNsYk9WDqP15T7+Fs4FbdNYmOA9WVrmtpB+v1V1WtyW3X4xM4xaPI/R/E2O r0JrVMI51tOfD4tJu5n2WBASR75GZNXOBwK9hdT6YPEhdgrSPJY6elYxLOlJE/h9 sK+QcknYHC3h5F7+TH4JhunTZLRH8A== =j68E -----END PGP SIGNATURE----- --=-=-=--