]> granicus.if.org Git - postgresql/commit
Tweak dynahash.c to not allocate so many entries at once when dealing
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Jun 2005 23:32:34 +0000 (23:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Jun 2005 23:32:34 +0000 (23:32 +0000)
commit06ae88a82e7fea5a1c3f8083581f1dd9d75fafc4
tree9fdb6c8e627fc2f00a21b0cb90c57795c5eaae77
parent943b396245bd699a66c894c5e11303b3ef93ac7b
Tweak dynahash.c to not allocate so many entries at once when dealing
with a table that has a small predicted size.  Avoids wasting several
hundred K on the timezone hash table, which is likely to have only one
or a few entries, but the entries use up 10Kb apiece ...
src/backend/utils/hash/dynahash.c
src/include/utils/hsearch.h
src/timezone/pgtz.c