Обсуждение: pgsql/src/backend/utils/mmgr (aset.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/utils/mmgr (aset.c)

От
tgl@postgresql.org
Дата:
  Date: Friday, December  1, 2000 @ 13:14:29
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mmgr
     from hub.org:/home/projects/pgsql/tmp/cvs-serv98598/src/backend/utils/mmgr

Modified Files:
    aset.c

-----------------------------  Log Message  -----------------------------

Pursuant to a pghackers discussion back around 11-Jul-00, get rid of aset.c's
not-very-good handling of mid-size allocation requests.  Do everything via
either the "small" case (chunk size rounded up to power of 2) or the "large"
case (pass it straight off to malloc()).  Increase the number of freelists
a little to set the breakpoint between these behaviors at 8K.