Pav Lucistnik 42b1030bbd 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
2008-04-11 08:26:06 +00:00
..
2007-12-19 03:31:44 +00:00
2008-04-05 10:26:20 +00:00
2008-02-19 07:09:19 +00:00
2007-11-07 10:53:41 +00:00
2007-11-07 10:53:41 +00:00
2007-03-15 04:09:40 +00:00
2007-11-07 10:53:41 +00:00
2006-07-20 09:38:46 +00:00
2008-04-10 14:02:00 +00:00
2007-07-03 12:46:08 +00:00
2007-11-07 10:53:41 +00:00
2007-04-05 21:17:52 +00:00
2006-09-29 17:57:04 +00:00
2007-11-07 10:53:41 +00:00
2006-06-29 09:18:16 +00:00
2006-09-01 09:24:28 +00:00
2007-11-07 10:53:41 +00:00
2006-09-29 17:57:04 +00:00
2007-12-21 19:34:26 +00:00
2007-01-20 23:24:11 +00:00
2006-10-10 07:19:30 +00:00
2007-11-07 10:53:41 +00:00
2008-01-30 22:11:59 +00:00
2006-09-30 19:07:03 +00:00
2007-11-07 10:53:41 +00:00
2008-02-22 06:25:49 +00:00
2006-08-22 08:03:01 +00:00
2008-02-18 03:19:25 +00:00
2007-11-07 10:57:35 +00:00
2007-11-07 10:53:41 +00:00
2007-11-07 10:53:41 +00:00
2007-11-07 10:53:41 +00:00
2007-02-15 02:45:14 +00:00
2007-11-07 10:53:41 +00:00
2007-11-07 10:53:41 +00:00
2007-11-07 10:53:41 +00:00
2007-10-12 18:16:35 +00:00
2007-03-16 12:36:54 +00:00
2007-10-31 13:49:20 +00:00
2007-10-16 02:32:44 +00:00
2008-02-11 08:12:58 +00:00
2006-07-27 14:52:12 +00:00
2006-12-22 23:23:59 +00:00
2007-07-28 00:12:21 +00:00
2008-02-19 07:09:19 +00:00