]> granicus.if.org Git - postgresql/commit
Replace bitwise looping with bytewise looping in hemdistsign and
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 22:46:40 +0000 (22:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 22:46:40 +0000 (22:46 +0000)
commit4977c2b31b26f5a738f5f85dd03c5275ad3ce058
treec120b7b744c05333d6a17675823fcaabe3d3df40
parent4a651c97055c700259965f6aa71da68440a48663
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