Shave a few cycles in compare_pathkeys() by checking for pointer-identical input lists before we grovel through the lists.  This doesn't save much, but testing shows that the case of both inputs NIL is common enough that it saves something.  And this is used enough to be a hotspot.
Shave a few cycles in compare_pathkeys() by checking for pointer-identical
input lists before we grovel through the lists.  This doesn't save much,
but testing shows that the case of both inputs NIL is common enough that
it saves something.  And this is used enough to be a hotspot.

xinzweb/gpdb,zeroae/postgres-xl,ovr/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,lisakowen/gpdb,adam8157/gpdb,Postgres-XL/Postgres-XL,yuanzhao/gpdb,yuanzhao/gpdb,50wu/gpdb,edespino/gpdb,ovr/postgres-xl,Chibin/gpdb,adam8157/gpdb,adam8157/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,techdragon/Postgres-XL,edespino/gpdb,arcivanov/postgres-xl,zeroae/postgres-xl,50wu/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,adam8157/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,yuanzhao/gpdb,ovr/postgres-xl,snaga/postgres-xl,oberstet/postgres-xl,tpostgres-projects/tPostgres,Chibin/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,edespino/gpdb,edespino/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,lisakowen/gpdb,edespino/gpdb,edespino/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,50wu/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,xinzweb/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,oberstet/postgres-xl,edespino/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,adam8157/gpdb,adam8157/gpdb,postmind-net/postgres-xl,yazun/postgres-xl,50wu/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,Chibin/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,jmcatamney/gpdb,lisakowen/gpdb,Chibin/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,pavanvd/postgres-xl,snaga/postgres-xl,jmcatamney/gpdb,50wu/gpdb,yazun/postgres-xl,Chibin/gpdb,techdragon/Postgres-XL,edespino/gpdb,oberstet/postgres-xl,arcivanov/postgres-xl,ashwinstar/gpdb,ovr/postgres-xl,edespino/gpdb,ovr/postgres-xl,jmcatamney/gpdb,Chibin/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,xinzweb/gpdb,50wu/gpdb,oberstet/postgres-xl,zeroae/postgres-xl,techdragon/Postgres-XL,adam8157/gpdb,kmjungersen/PostgresXL,greenplum-db/gpdb,50wu/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,oberstet/postgres-xl,tpostgres-projects/tPostgres,Chibin/gpdb,Chibin/gpdb,snaga/postgres-xl,Postgres-XL/Postgres-XL,techdragon/Postgres-XL,arcivanov/postgres-xl,snaga/postgres-xl,yazun/postgres-xl,xinzweb/gpdb,Chibin/gpdb,greenplum-db/gpdb,kmjungersen/PostgresXL,yazun/postgres-xl,Postgres-XL/Postgres-XL,50wu/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,edespino/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,snaga/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,kmjungersen/PostgresXL,kmjungersen/PostgresXL,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,xinzweb/gpdb,zeroae/postgres-xl,arcivanov/postgres-xl,postmind-net/postgres-xl