Tweak the tree descent loop in fsm_search_avail to not look at the
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Dec 2008 17:11:18 +0000 (17:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Dec 2008 17:11:18 +0000 (17:11 +0000)
commit7c59e81de9ebed9e46b410e59d4c455715e33d55
treebbda02982f21f4afb1ae7e1efc259be6ff294e4c
parent19219ca0c65ab76a97c923422d62c18c7a86d46f
Tweak the tree descent loop in fsm_search_avail to not look at the
right child if it doesn't need to.  This saves some miniscule number
of cycles, but the ulterior motive is to avoid an optimization bug
known to exist in SCO's C compiler (and perhaps others?)
src/backend/storage/freespace/fsmpage.c