]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Cache fmgr lookup data for index's getnext() function in IndexScanDesc,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Mar 2000 23:52:01 +0000 (23:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Mar 2000 23:52:01 +0000 (23:52 +0000)
commit34235a295b307d3c50b2a74b20936f01b4ba76be
tree4accf8dd3e60c2cde3d3da5948e583c6d5cf921c
parent64568100787a5d03d036e70b32147385a35245e2
Cache fmgr lookup data for index's getnext() function in IndexScanDesc,
so that the fmgr lookup only has to happen once per index scan and not
once per tuple.  Seems to save 5% or so of CPU time for an indexscan.
src/backend/access/index/genam.c
src/backend/access/index/indexam.c
src/include/access/relscan.h