Use __builtin_clz() to implement fls()
commitd8908d9870e10012b6a62a3478191cd6650f0ec8
authorOlly Betts <olly@survex.com>
Sun, 18 Dec 2016 03:42:10 +0000 (18 16:42 +1300)
committerOlly Betts <olly@survex.com>
Sun, 18 Dec 2016 03:42:10 +0000 (18 16:42 +1300)
tree30f0250ef8581278f3341d14a714a57725c6a449
parent2e76f4db605d08fd1652e390d6cb93f5e4e8f69b
Use __builtin_clz() to implement fls()

Speeds up phrase searching (by ~0.5% in a simple test) and indexing
positional data a little too.
xapian-core/common/bitstream.cc