Remove BufferBlockPointers array in favor of a base + (bufnum) * BLCKSZ
computation. On modern machines this is as fast if not faster, and we
don't have to clog the CPU's L2 cache with a tens-of-KB pointer array.
If we ever decide to adopt a more dynamic allocation method for shared
buffers, we'll probably have to revert this patch, but in the meantime
we might as well save a few bytes and nanoseconds. Per Qingqing Zhou.
buf_init.c (r1.74 -> r1.75)
bufmgr.c (r1.192 -> r1.193)
bufmgr.h (r1.94 -> r1.95)
pgsql-committers by date
|Next:||From: James William Pye||Date: 2005-08-12 05:07:18|
|Subject: python - be: Move metaend's LargeObject class into prime.py.|
|Previous:||From: James William Pye||Date: 2005-08-12 04:26:42|
|Subject: python - be: Expected is always filled in now, so it cannot be used as |