Replace bitwise looping with bytewise looping in hemdistsign and
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 22:46:16 +0000 (22:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 22:46:16 +0000 (22:46 +0000)
commit33feb55c478af5f7a4c61232729c524d69d8d965
tree3ef1296a7f7196f0d08d58eba0f3fa92917de21a
parent138fdf32bb306e0783c2d383d552d2dc65cd1f07
Replace bitwise looping with bytewise looping in hemdistsign and
sizebitvec of tsearch2, as well as identical code in several other
contrib modules.  This provided about a 20X speedup in building a
large tsearch2 index ... didn't try to measure its effects for other
operations.  Thanks to Stephan Vollmer for providing a test case.
contrib/intarray/_int.h
contrib/intarray/_intbig_gist.c
contrib/ltree/_ltree_gist.c
contrib/ltree/ltree.h
contrib/pg_trgm/trgm.h
contrib/pg_trgm/trgm_gist.c
contrib/tsearch2/gistidx.c
contrib/tsearch2/gistidx.h