mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-14 17:03:22 +02:00
8f2ea8b7b5
loop over the fields instead of a loop around heap_getattr. This is considerably faster (O(N) instead of O(N^2)) when there are nulls or varlena fields, since those prevent use of attcacheoff. Replace loops over heap_getattr with heap_deformtuple in situations where all or most of the fields have to be fetched, such as printtup and tuptoaster. Profiling done more than a year ago shows that this should be a nice win for situations involving many-column tables. |
||
---|---|---|
.. | ||
heapam.c | ||
hio.c | ||
Makefile | ||
tuptoaster.c |