Remove code repetition in the doc ID bitmap code.
authorAustin Clements <amdragon@mit.edu>
Mon, 31 Jan 2011 01:58:27 +0000 (20:58 -0500)
committerAustin Clements <amdragon@mit.edu>
Mon, 31 Jan 2011 01:58:27 +0000 (20:58 -0500)
commite04e72f9dd9b435f37cf9e712d9e23cf22896e27
tree061768000db0fb3d9d7d20a3347c13b99e07173b
parent15d8928f4133eb28f7823b0f4d4c5edc6471131c
Remove code repetition in the doc ID bitmap code.

Remove the repeated "sizeof (doc_ids->bitmap[0])" that bothered cworth
by instead defining macros to compute the word and bit offset of a
given bit in the doc ID set bitmap.
lib/query.cc