K 10 svn:author V 3 pav K 8 svn:date V 27 2008-04-11T08:26:06.000000Z K 7 svn:log V 444 Optimize package registration/deregistration. Previously, when looking up the package name for the origin of a dependency, all entries in /var/db/pkg were traversed for each dependency of added/removed package. Now, gather all the origins first, then do the lookup in a single pass over /var/db/pkg. This should provide a major speedup for packages with hundreds of dependencies. Submitted by: rdivacky (earlier version) MFC after: 1 month END