aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/store-api.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-07-02 22:15:35 +0200
committerLudovic Courtès <ludo@gnu.org>2018-07-03 00:39:10 +0200
commit24420f5ffabfbdbe913a5765e5c00e17de18fb4c (patch)
tree24dd51825a54c9cee2d111683b65d87fefa84d27 /nix/libstore/store-api.cc
parentc729901583981381ef04f3be57b28e92bd81090b (diff)
downloadguix-24420f5ffabfbdbe913a5765e5c00e17de18fb4c.tar.gz
guix-24420f5ffabfbdbe913a5765e5c00e17de18fb4c.zip
packages: Optimize 'package-transitive-supported-systems'.
This version is 13% faster than the one above when timing: (fold-packages (lambda (p x) (package-transitive-supported-systems p)) '()) * guix/packages.scm (package-transitive-supported-systems): Make 'systems' a set instead of calling 'lset-intersection' repeatedly.
Diffstat (limited to 'nix/libstore/store-api.cc')
0 files changed, 0 insertions, 0 deletions