Re: Slow dependency computation

2010-11-05 Thread Dan Ports
On Fri, Nov 05, 2010 at 12:02:37PM -0400, Daniel J. Luke wrote: > Probably the only reason is that no one implemented it yet (and maybe you are > the first person to notice that it's an issue). > > I imagine a patch to improve this behavior would get committed eagerly :) I was actually asking if

Re: Slow dependency computation

2010-11-05 Thread Ryan Schmidt
On Nov 5, 2010, at 11:02, Daniel J. Luke wrote: > On Nov 4, 2010, at 9:51 PM, Dan Ports wrote: >> >> I see that mportdepends stops searching recursively when it hits a port >> that's already installed. Any reason it can't do the same when it hits >> an uninstalled dependency it's already seen? >

Re: Slow dependency computation

2010-11-05 Thread Daniel J. Luke
On Nov 4, 2010, at 9:51 PM, Dan Ports wrote: > > I see that mportdepends stops searching recursively when it hits a port > that's already installed. Any reason it can't do the same when it hits > an uninstalled dependency it's already seen? Probably the only reason is that no one implemented it y

Slow dependency computation

2010-11-04 Thread Dan Ports
Today I tried doing a `port install texlive +full` on a system with no ports installed -- and came to regret this, as it spent the better part of an hour computing dependencies. I looked through the 140M debug log, and it looks like _mportispresent is being called over a million times. That's pret