Re: [PATCH] offload: Memoize the 'machine-load' procedure

2015-06-17 Thread Ludovic Courtès
Mark H Weaver skribis: > This patch memoizes the 'machine-load' procedure so that the load of > each build slave is queried only once per call to 'guix offload'. Apart > from avoiding wasteful repeated ssh connections, this is needed to > ensure that all calls to the sorting predicate are consis

[PATCH] offload: Memoize the 'machine-load' procedure

2015-06-17 Thread Mark H Weaver
each other, which is part of the contract with 'sort'. Mark >From 1fa02a0b0f50e141935833f6dfc295f654118621 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Jun 2015 13:58:00 -0400 Subject: [PATCH] offload: Memoize the 'machine-load' procedure. * guix/