summaryrefslogtreecommitdiff
path: root/tests/utils.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-09-07 18:04:21 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-13 12:31:10 +0200
commit10c981b1355df694b277a812cd8beb7cd60d1ea6 (patch)
tree9ffb323317df2690ba6de1cf93db38c6ffcd52b2 /tests/utils.scm
parent53f54d4aa252fed425180641f27094600522c4f1 (diff)
packages: Store 'location' field as a literal vector.
This is slightly more efficient than storing an alist in terms of .go file size (< 1% smaller) and load time. * guix/packages.scm (current-location-vector): New macro. (sanitize-location): New procedure. (<package>)[location]: Change 'default' and add 'sanitize'. (package-location): New procedure.
Diffstat (limited to 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions