guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: build-system/python: 'package-with-explicit-python' uses 'eq?' me


From: Ludovic Courtès
Subject: 05/05: build-system/python: 'package-with-explicit-python' uses 'eq?' memoization.
Date: Sat, 28 Jan 2017 17:59:00 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 86a6ff4bb04963bd16e22a7c8133a82dd0af1014
Author: Ludovic Courtès <address@hidden>
Date:   Sat Jan 28 18:51:19 2017 +0100

    build-system/python: 'package-with-explicit-python' uses 'eq?' memoization.
    
    * guix/build-system/python.scm (package-with-explicit-python): Use
    'mlambdaq' instead of 'mlambda'.  This does not change the <package>
    graph and has no visible impact on performance.
---
 guix/build-system/python.scm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 383e8cb..17173f1 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -87,7 +87,7 @@ pre-defined variants."
     ;; Memoize the transformations.  Failing to do that, we would build a huge
     ;; object graph with lots of duplicates, which in turns prevents us from
     ;; benefiting from memoization in 'package-derivation'.
-    (mlambda (p)                                  ;XXX: use 'eq?'
+    (mlambdaq (p)
       (let* ((rewrite-if-package
               (lambda (content)
                 ;; CONTENT may be a file name, in which case it is returned,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]