diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-09-10 11:57:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-10 13:10:06 +0200 |
commit | 1cdecf24f5a7d98c9564a12a2932a015cfc31b9e (patch) | |
tree | 60b78b0df8d8d370afddbc6285b4828f76352fc6 /release.nix | |
parent | e71479747b3610cc7d992f2b38c6fa825ee44ad1 (diff) | |
download | guix-1cdecf24f5a7d98c9564a12a2932a015cfc31b9e.tar.gz |
gexp: Store compilers in a hash table for O(1) lookup.
* guix/gexp.scm (<gexp-compiler>)[predicate]: Remove. [type]: New field. (%gexp-compilers): Turn into a hash table. (register-compiler!, lookup-compiler, lookup-expander): Adjust accordingly. (define-gexp-compiler): Replace 'predicate' by 'record-type'. (derivation-compiler, local-file-compiler, plain-file-compiler) (computed-file-compiler, program-file-compiler, scheme-file-compiler) (file-append-compiler): Adjust accordingly. * guix/packages.scm (package-compiler, origin-compiler): Likewise.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions