pgsql: Slightly reorganize struct SnapshotData. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Slightly reorganize struct SnapshotData.
Date
Msg-id E1RjNQs-0003cF-CN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Slightly reorganize struct SnapshotData.

This squeezes out a bunch of alignment padding, reducing the size
from 72 to 56 bytes on my machine.  At least in my testing, this
didn't produce any measurable performance improvement, but the space
savings seem like enough justification.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1fc3d18faa8f4476944bc6854be0f7f6adf4aec8

Modified Files
--------------
src/include/utils/snapshot.h |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix backwards logic in previous commit.
Next
From: Tom Lane
Date:
Subject: pgsql: Use __sync_lock_test_and_set() for spinlocks on ARM, if availabl