Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110583 Details for
Bug 167450
portage 2.1.2-r9, emerge order weird for --empty
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
optimize merge order by delaying the merge of root nodes
delay_root_nodes.patch (text/plain), 909 bytes, created by
Zac Medico
on 2007-02-18 20:58:37 UTC
(
hide
)
Description:
optimize merge order by delaying the merge of root nodes
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-02-18 20:58:37 UTC
Size:
909 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 5996) >+++ bin/emerge (revision 5997) >@@ -2021,8 +2021,18 @@ > # output, so it's disabled in reversed mode. > selected_nodes = nodes > else: >- # Only pop one node for optimal merge order. >- selected_nodes = [nodes[0]] >+ # For optimal merge order: >+ # * Only pop one node. >+ # * Removing a root node (node without a parent) >+ # will not produce a leaf node, so avoid it. >+ for node in nodes: >+ if mygraph.parent_nodes(node): >+ # found a non-root node >+ selected_nodes = [node] >+ break >+ if not selected_nodes: >+ # settle for a root node >+ selected_nodes = [nodes[0]] > else: > """Recursively gather a group of nodes that RDEPEND on > eachother. This ensures that they are merged as a group
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167450
: 110583