From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 4/4] emacs: Speed up starting the REPL. Date: Sun, 03 Apr 2016 23:19:36 +0200 Message-ID: <87bn5qbdav.fsf@gnu.org> References: <1459498002-3872-1-git-send-email-alezost@gmail.com> <1459498002-3872-5-git-send-email-alezost@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ampQs-0003P4-D7 for guix-devel@gnu.org; Sun, 03 Apr 2016 17:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ampQp-0003J2-8F for guix-devel@gnu.org; Sun, 03 Apr 2016 17:19:42 -0400 In-Reply-To: <1459498002-3872-5-git-send-email-alezost@gmail.com> (Alex Kost's message of "Fri, 1 Apr 2016 11:06:42 +0300") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Delay initializing variables. > > * emacs/guix-main.scm: (%packages): Rename to... > (%package-vhash): ... this. Delay setting the value. > (package-vhash): New procedure (wrapper for '%package-vhash'). > (%package-table): Delay setting the value. > (package-table): New procedure (wrapper for '%package-table'). > (package-by-address, packages-by-name+version): Use wrappers. OK, sounds reasonable. Thanks! Ludo=E2=80=99.