diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-09-07 18:04:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-13 12:31:10 +0200 |
commit | 10c981b1355df694b277a812cd8beb7cd60d1ea6 (patch) | |
tree | 9ffb323317df2690ba6de1cf93db38c6ffcd52b2 /tests | |
parent | 53f54d4aa252fed425180641f27094600522c4f1 (diff) | |
download | guix-10c981b1355df694b277a812cd8beb7cd60d1ea6.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions