lemire / streamvbyte

Fast integer compression in C using the StreamVByte codec
Apache License 2.0
374 stars 37 forks source link

Add SSE41 path for streamvbyte_compressedbytes. #57

Closed ishitatsuyuki closed 1 year ago

ishitatsuyuki commented 1 year ago

I'm trying to use compressedbytes to get the allocation size beforehand but this turned out to be awfully slow and taking more time than just doing the (SIMD-accelerated) encoding itself.

This PR fixes that and does a few things:

lemire commented 1 year ago

This will be part of the next release.

lemire commented 1 year ago

I'll merge as soon as the tests are green.

ishitatsuyuki commented 1 year ago

Fixed the pragma errors from CI.

lemire commented 1 year ago

Let us re-run the tests.

lemire commented 1 year ago

Merging.