aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-03-21 00:29:25 +0000
committerChristopher Baines <mail@cbaines.net>2021-03-25 08:18:43 +0000
commit0fb1eadd5ce7c8e8142688825ce0eb6370354209 (patch)
tree757b64077167da7fed36ad091a22aa03df55ae2a /scripts
parent27d967dfa44aaffd610bed29d88a7161ef144119 (diff)
downloadguix-0fb1eadd5ce7c8e8142688825ce0eb6370354209.tar
guix-0fb1eadd5ce7c8e8142688825ce0eb6370354209.tar.gz
guix: http-client: Tweak http-multiple-get error handling.
This isn't meant to change the way errors are handled, and arguably makes the code harder to read, but it's a uninformed attempt to improve the performance (following on from a performance regression in 205833b72c5517915a47a50dbe28e7024dc74e57). I'm guessing something about Guile internals makes calling (loop ...) within the catch bit less performant than avoiding this and calling (loop ...) after the catch bit has finished. Since this happens lots, this seems to be sufficient to make guix weather a lot slower than it was before. Anecdotal testing of guix weather suggests this change might work. * guix/http-client.scm (http-multiple-get): Tweak how the second catch statement works.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions