GNU bug report logs -
#54539
[PATCH 0/6] Start breaking up import cycles
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Wed, 23 Mar 2022 18:48:01 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
On Thu, 24 Mar 2022 at 08:23, Liliana Marie Prikler
<liliana.prikler <at> ist.tugraz.at> wrote:
> I agree that breaking up cycles is a good thing, but I disagree with
> some of the decisions you've made here. For instance, I oppose the use
> of single-package modules, because those more often than not simply
> clutter the file system.
Well, instead of opinions in the vacuum of matter, we need to profile
and decide on performance report. The number of files and the number
of package per file should consider the performance of:
- compilation by developer
- guix pull
- guix search (or any other)
- guix search --load-path
- etc.
> In either case, declaring all these lazy dependencies near the module
> definition would have the added benefit, that people could see them
> being lazily imported and thus no longer need the #:use-modules
> comment.
I agree that lazyness is a good thing and a good direction. However,
let be pragmatic with what we have now. :-) What are the performance
comparison between breaking many cycles as Maxime is proposing vs
using many 'module-ref' + 'resolve-interface' instead of break?
Cheers,
simon
This bug report was last modified 22 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.