WT-2558: WT_PAGE structure is 72B, reduce to 64B.

Remove the WT_PAGE record number field (used in internal and column-store
leaf pages), instead, use the record number from the WT_REF structure.
This commit is contained in:
Keith Bostic
2016-04-17 15:12:01 -04:00
parent 68c5dc70e1
commit 18b0617370
21 changed files with 204 additions and 209 deletions

View File

@@ -261,10 +261,10 @@ __bit_getv(uint8_t *bitf, uint64_t entry, uint8_t width)
* Return a record number's bit-field value.
*/
static inline uint8_t
__bit_getv_recno(WT_PAGE *page, uint64_t recno, uint8_t width)
__bit_getv_recno(WT_REF *ref, uint64_t recno, uint8_t width)
{
return (__bit_getv(
page->pg_fix_bitf, recno - page->pg_fix_recno, width));
ref->page->pg_fix_bitf, recno - ref->ref_recno, width));
}
/*