Top posting? You? 

On 13 December 2019 08:36:08 CET, Dale <rdalek1...@gmail.com> wrote:
>Howdy,
>
>I don't recall seeing the thread on the forums but it sort of sounds a
>lot like what I was reading on -dev as to why it is not.  Basically, it
>would be a complex and difficult piece of code.  According to some, it
>could even create problems that don't exist now, depending on what
>dependencies may pop into the process.
>
>It would be nice IF it could be done and really help with the time it
>takes to calculate but it sounds like it might not even help much if it
>was coded that way.  I guess it won't be done anytime soon.  It seems
>like for good reason but it would be nifty. 
>
>I might add, I think that forum thread was way earlier than the posts
>on
>-dev.  I think the discussion on -dev was only a few years ago.  All in
>all, the emerge command has come a long ways since I started uses
>Gentoo
>back in 2003. 
>
>Thanks for the info.

I do think it can be done and should make it quicker.
If done correctly, the hack of "backtracking" won't be needed anymore as well.

Portage is a database and should be handled that way as well. Then for every 
package in the "install set" a thread can be started to check all the 
requirements.
For each requirement, if it is already met, fine. If not, a new thread to check 
that. Result of each is what is needed. Any conflicts can be identified and 
handled by the calling thread.

This should scale, provided the entire tree can be loaded into memory quickly.

--
Joost



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to