]> git.sesse.net Git - plocate/commit
Switch to our own TurboPFor encoder.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 7 Oct 2020 23:01:55 +0000 (01:01 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 7 Oct 2020 23:04:58 +0000 (01:04 +0200)
commit0f7ca618fb8a2e501fe68e1760de9ee716e37c40
treeb2c549607f82622e1aad920cb8f30aab080f6c67
parent48e1d28b90067ef2b7b5fc2fc8bea0690b726f5a
Switch to our own TurboPFor encoder.

This is much slower (plocate-build becomes ~6% slower or so),
but allows us to ditch the external TurboPFor dependency entirely,
and with it, the SSE4.1 demand. This should make us much more palatable
for most distributions.

The benchmark program is extended with some tests that all posting lists
in plocate.db round-trip properly through our encoder, which found a
lot of bugs during development.
.gitmodules
Makefile
README
TurboPFor-Integer-Compression [deleted submodule]
bench.cpp
plocate-build.cpp
turbopfor-common.h [new file with mode: 0644]
turbopfor-encode.h [new file with mode: 0644]
turbopfor.h