Ludovic Courtès 1cdecf24f5
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.
2016-09-10 13:10:06 +02:00
..
2016-08-16 14:05:14 -04:00
2015-01-26 21:58:12 +01:00
2016-05-24 00:06:01 +02:00
2016-03-31 01:40:30 -04:00
2016-09-05 00:06:47 +02:00
2015-09-04 18:31:06 +02:00
2015-01-11 23:50:01 +01:00