OSDN Git Service

Reduce the minimum allocable chunk size to 8 bytes (from 16). Now that
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 May 2004 19:44:15 +0000 (19:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 May 2004 19:44:15 +0000 (19:44 +0000)
commit4646a8f32fbae1581ff0a2fa259bced82fc583e7
tree89723a25038d1d4506ac3f608df4ee4346e75d0d
parent0858ed20d2a3da65de63926c272f80d988a6c58d
Reduce the minimum allocable chunk size to 8 bytes (from 16).  Now that
ListCells are only 8 bytes instead of 12 (on 4-byte-pointer machines
anyway), it's worth maintaining a separate freelist for 8-byte objects.
Remembering that alloc chunks carry 8 bytes of overhead, this should
reduce the net storage requirement for a long List by about a third.
src/backend/utils/mmgr/aset.c