1cd1d8a7ea
This fixes a longstanding issue where 'choose-build-machine' would make on average O(N log(N)) calls to 'machine-load', plus an extra call for the selected machine, instead of N calls. * guix/scripts/offload.scm (machine-load): Add comment. (machine-power-factor, machine-less-loaded-or-faster?): Remove. (choose-build-machine)[machines+slots]: Rename to... [machines+slots+loads]: ... this. [undecorate]: Adjust accordingly. [machine-less-loaded-or-faster?]: New procedure. Remove extra 'machine-load' call in body. |
||
---|---|---|
.. | ||
container | ||
import | ||
archive.scm | ||
authenticate.scm | ||
build.scm | ||
challenge.scm | ||
container.scm | ||
download.scm | ||
edit.scm | ||
environment.scm | ||
gc.scm | ||
graph.scm | ||
hash.scm | ||
import.scm | ||
lint.scm | ||
offload.scm | ||
package.scm | ||
perform-download.scm | ||
publish.scm | ||
pull.scm | ||
refresh.scm | ||
size.scm | ||
substitute.scm | ||
system.scm |