]> git.sesse.net Git - plocate/commit
Switch to histogram-based estimation of PFOR varbyte sizes.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 13 Feb 2021 00:24:58 +0000 (01:24 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 13 Feb 2021 00:27:17 +0000 (01:27 +0100)
commitcc2bebc57b43d208beccce02e03756c4337f9e5e
tree97a9ede7967a776663c3df98bba50e013f2a5037
parenta18a5157796d8db72b0ea1dfea137090bd8a52b9
Switch to histogram-based estimation of PFOR varbyte sizes.

This makes plocate.db ~0.1% larger, but reduces CPU usage by something
like 3%, so it's an OK tradeoff.
turbopfor-encode.h