Cut down the initial db checked hash allocation somewhat
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Dec 2010 12:53:35 +0000 (14:53 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Dec 2010 12:53:35 +0000 (14:53 +0200)
commite40a7c61c422e79838226c69cb84f7a624fa6127
tree8f6211bc8933f75d98de09861621ff1fd1d252f9
parent78097d55f446c32911f629d4ce3ef79fe3c5c898
Cut down the initial db checked hash allocation somewhat
- The instance numbers are often much much bigger than the number
  of actual packages, and the hash table grows automatically as needed
  so there's no need to over-allocate at the start. Apply some
  (fairly arbitrary) heuristics to limit the initial allocation size.
lib/rpmdb.c