In _bt_check_unique() loop, don't bother applying _bt_isequal() to killed items; just skip to the next item immediately.  Only check for key equality when we reach a non-killed item or the end of the index page.  This saves key comparisons when there are lots of killed items, as for example in a heavily-updated table that's not been vacuumed lately. Seems to be a win for pgbench anyway.
In _bt_check_unique() loop, don't bother applying _bt_isequal() to
killed items; just skip to the next item immediately.  Only check for
key equality when we reach a non-killed item or the end of the index
page.  This saves key comparisons when there are lots of killed items,
as for example in a heavily-updated table that's not been vacuumed lately.
Seems to be a win for pgbench anyway.

rubikloud/gpdb,ashwinstar/gpdb,ovr/postgres-xl,pavanvd/postgres-xl,tpostgres-projects/tPostgres,Quikling/gpdb,rvs/gpdb,zaksoup/gpdb,yazun/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,rubikloud/gpdb,lpetrov-pivotal/gpdb,zeroae/postgres-xl,Quikling/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,xinzweb/gpdb,Quikling/gpdb,rubikloud/gpdb,rvs/gpdb,xinzweb/gpdb,yazun/postgres-xl,zaksoup/gpdb,edespino/gpdb,foyzur/gpdb,50wu/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,jmcatamney/gpdb,ashwinstar/gpdb,xuegang/gpdb,arcivanov/postgres-xl,kaknikhil/gpdb,foyzur/gpdb,Quikling/gpdb,0x0FFF/gpdb,xuegang/gpdb,royc1/gpdb,tangp3/gpdb,kaknikhil/gpdb,foyzur/gpdb,lisakowen/gpdb,rvs/gpdb,yuanzhao/gpdb,adam8157/gpdb,yazun/postgres-xl,edespino/gpdb,adam8157/gpdb,ovr/postgres-xl,xinzweb/gpdb,cjcjameson/gpdb,zaksoup/gpdb,atris/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,cjcjameson/gpdb,xuegang/gpdb,Quikling/gpdb,adam8157/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,kmjungersen/PostgresXL,atris/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,edespino/gpdb,rvs/gpdb,Postgres-XL/Postgres-XL,chrishajas/gpdb,CraigHarris/gpdb,xuegang/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,tangp3/gpdb,lintzc/gpdb,50wu/gpdb,oberstet/postgres-xl,lpetrov-pivotal/gpdb,ahachete/gpdb,lintzc/gpdb,Quikling/gpdb,royc1/gpdb,ashwinstar/gpdb,yazun/postgres-xl,CraigHarris/gpdb,postmind-net/postgres-xl,greenplum-db/gpdb,xuegang/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,randomtask1155/gpdb,edespino/gpdb,arcivanov/postgres-xl,CraigHarris/gpdb,edespino/gpdb,xinzweb/gpdb,chrishajas/gpdb,tpostgres-projects/tPostgres,ahachete/gpdb,tpostgres-projects/tPostgres,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,randomtask1155/gpdb,janebeckman/gpdb,Chibin/gpdb,yuanzhao/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,snaga/postgres-xl,arcivanov/postgres-xl,cjcjameson/gpdb,zaksoup/gpdb,randomtask1155/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,chrishajas/gpdb,edespino/gpdb,yuanzhao/gpdb,royc1/gpdb,Chibin/gpdb,atris/gpdb,techdragon/Postgres-XL,foyzur/gpdb,lintzc/gpdb,postmind-net/postgres-xl,chrishajas/gpdb,kmjungersen/PostgresXL,lintzc/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,foyzur/gpdb,randomtask1155/gpdb,cjcjameson/gpdb,ovr/postgres-xl,tangp3/gpdb,CraigHarris/gpdb,rvs/gpdb,adam8157/gpdb,postmind-net/postgres-xl,atris/gpdb,ahachete/gpdb,edespino/gpdb,xuegang/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,edespino/gpdb,lintzc/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,50wu/gpdb,Chibin/gpdb,snaga/postgres-xl,postmind-net/postgres-xl,ahachete/gpdb,Chibin/gpdb,lisakowen/gpdb,tangp3/gpdb,oberstet/postgres-xl,yuanzhao/gpdb,lpetrov-pivotal/gpdb,lisakowen/gpdb,janebeckman/gpdb,lisakowen/gpdb,rubikloud/gpdb,greenplum-db/gpdb,janebeckman/gpdb,lpetrov-pivotal/gpdb,royc1/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,Postgres-XL/Postgres-XL,ahachete/gpdb,royc1/gpdb,snaga/postgres-xl,kaknikhil/gpdb,royc1/gpdb,50wu/gpdb,adam8157/gpdb,kaknikhil/gpdb,rvs/gpdb,rubikloud/gpdb,zeroae/postgres-xl,atris/gpdb,chrishajas/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,pavanvd/postgres-xl,zeroae/postgres-xl,kmjungersen/PostgresXL,lpetrov-pivotal/gpdb,Quikling/gpdb,ahachete/gpdb,janebeckman/gpdb,cjcjameson/gpdb,kmjungersen/PostgresXL,yuanzhao/gpdb,techdragon/Postgres-XL,foyzur/gpdb,lintzc/gpdb,zaksoup/gpdb,CraigHarris/gpdb,snaga/postgres-xl,tpostgres-projects/tPostgres,tangp3/gpdb,randomtask1155/gpdb,randomtask1155/gpdb,kmjungersen/PostgresXL,rubikloud/gpdb,royc1/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,zaksoup/gpdb,rubikloud/gpdb,snaga/postgres-xl,xinzweb/gpdb,cjcjameson/gpdb,zeroae/postgres-xl,ahachete/gpdb,oberstet/postgres-xl,greenplum-db/gpdb,lintzc/gpdb,janebeckman/gpdb,greenplum-db/gpdb,adam8157/gpdb,CraigHarris/gpdb,Chibin/gpdb,jmcatamney/gpdb,chrishajas/gpdb,chrishajas/gpdb,ovr/postgres-xl,0x0FFF/gpdb,Chibin/gpdb,50wu/gpdb,xuegang/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,Quikling/gpdb,janebeckman/gpdb,tangp3/gpdb,xuegang/gpdb,randomtask1155/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,foyzur/gpdb,ashwinstar/gpdb,rvs/gpdb,zaksoup/gpdb,edespino/gpdb,cjcjameson/gpdb,rubikloud/gpdb,atris/gpdb,xinzweb/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,xinzweb/gpdb,tangp3/gpdb,Postgres-XL/Postgres-XL,lintzc/gpdb,adam8157/gpdb,50wu/gpdb,ovr/postgres-xl,CraigHarris/gpdb,Quikling/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,50wu/gpdb,CraigHarris/gpdb,rvs/gpdb,janebeckman/gpdb,lpetrov-pivotal/gpdb,chrishajas/gpdb,pavanvd/postgres-xl,tangp3/gpdb,lisakowen/gpdb,50wu/gpdb,janebeckman/gpdb,Chibin/gpdb,ahachete/gpdb,janebeckman/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,foyzur/gpdb,rvs/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,yazun/postgres-xl,greenplum-db/gpdb,Quikling/gpdb,tpostgres-projects/tPostgres,kaknikhil/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,atris/gpdb,atris/gpdb,oberstet/postgres-xl,edespino/gpdb,royc1/gpdb,yuanzhao/gpdb,rvs/gpdb,kaknikhil/gpdb,xuegang/gpdb,Chibin/gpdb,lintzc/gpdb,zaksoup/gpdb,Chibin/gpdb,Chibin/gpdb,zeroae/postgres-xl