quickwit-oss / bitpacking

SIMD algorithms for integer compression via bitpacking. This crate is a port of a C library called simdcomp.
MIT License
267 stars 30 forks source link

This crate vs tantivy-bitpacker #44

Open ccleve opened 1 year ago

ccleve commented 1 year ago

I noticed that there is a separate crate under the Tantivy project that also does bitpacking. So far as I can tell, the other crate does 64 bit compression and does not use SIMD, and the Tantivy project uses both crates. Is this correct?

Can I ask about the future of this crate? Will you be consolidating the two? What's the plan?

Also, it appears that the master branch is at version 0.8.3, but crates.io has 0.8.4. Is there some other repo somewhere I've missed?

PSeitz commented 1 year ago

I noticed that there is a separate crate under the Tantivy project that also does bitpacking. So far as I can tell, the other crate does 64 bit compression and does not use SIMD, and the Tantivy project uses both crates. Is this correct?

That's correct

Can I ask about the future of this crate? Will you be consolidating the two? What's the plan?

Currently there's no plan to merge the two, they serve different purposes. big blocks of u32 used in the posting list vs various length u64

Also, it appears that the master branch is at version 0.8.3, but crates.io has 0.8.4. Is there some other repo somewhere I've missed?

Probably some locally uncommitted data? @fulmicoton

fulmicoton commented 1 year ago

Also, it appears that the master branch is at version 0.8.3, but crates.io has 0.8.4. Is there some other repo somewhere > I've missed?

That's actually a mystery. I could not spot what branch was published. I must have messed up and Cargo pushed over the commit bumping the version. I did cargo download the crate to check if we are facing something more malicious ... but the diff does not present anything suspicious..