small optimization, fullpkgpath is expensive, and ordering by pkgpath is
vastly enough in the current case
This commit is contained in:
parent
f991dc42d6
commit
ba805a9329
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Heuristics.pm,v 1.14 2012/03/09 12:51:38 espie Exp $
|
||||
# $OpenBSD: Heuristics.pm,v 1.15 2013/01/10 10:25:25 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -177,7 +177,7 @@ sub compare
|
||||
# XXX if we don't know, we prefer paths "later in the game"
|
||||
# so if you abort dpb and restart it, it will start doing
|
||||
# things earlier.
|
||||
return $a->fullpkgpath cmp $b->fullpkgpath;
|
||||
return $a->pkgpath cmp $b->pkgpath;
|
||||
}
|
||||
|
||||
my $sf_per_host = {};
|
||||
|
Loading…
Reference in New Issue
Block a user