From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: guix package --search slow ? Date: Wed, 15 May 2019 15:43:37 +0200 Message-ID: <87o943ygs6.fsf@ambrevar.xyz> References: <87o9447pul.fsf@elephly.net> <87r28zu9hs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQuCB-0000Y1-So for guix-devel@gnu.org; Wed, 15 May 2019 09:43:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQuCA-00010c-RO for guix-devel@gnu.org; Wed, 15 May 2019 09:43:47 -0400 In-Reply-To: <87r28zu9hs.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= , zimoun Cc: Guix Devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > We could probably improve the cold-cache timings by adding synopses and > descriptions to the package cache that =E2=80=98guix pull=E2=80=99 builds= in > ~/.config/guix/current/lib/guix/package.cache, but that would also make > that cache bigger. Not sure if it=E2=80=99s worth it. To be clear, did you mean it might not be worth it because of the size it takes on the user's drive or because the increase in size might slow down the lookup? For the former, currently my cache is 3.5=C2=A0MiB big so I think it's safe to go ahead and try if we get faster lookups with embedded synopses. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzcF4kACgkQm9z0l6S7 zH+Figf/RqOJcx8m0nqkNiwNp4eMw0g4cyQmqo2j+6Hq53kcxLmj7fR680Q0LzrZ rVqnY9UfIyDt4ydtQyrNJGzDvgnmSl4NjrGBxZZtSYBHjLcx+3TPwQ31E4K2/Ds2 z9j5xXq2f3WAEFMQ4N52dX0BU9zFV+dhTduKGvQOFj8iDVzyX2Zy7jkLfuaslzwF m3AaCXKU1/jEG3EImqJ5wKyWQvrwBiro/3jeIykpRHz2O7U1jrAWPF7M4d7+X5pa xH0Qm3vPObSmKsAXbJ1lr0CdfvLrXyTXGAlFeHFs6ZY96fHTMsM4L0NZ9cYzjeob idOZ6CKKvCksxv3fJji+Lfqq4vSAHQ== =OqOz -----END PGP SIGNATURE----- --=-=-=--