Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the compressed data portable? #50

Open
david-zhao opened this issue Apr 17, 2019 · 3 comments
Open

Is the compressed data portable? #50

david-zhao opened this issue Apr 17, 2019 · 3 comments

Comments

@david-zhao
Copy link

david-zhao commented Apr 17, 2019

Hello authors,

This is a great library!

I have a question: Is the compressed data portable, i.e. is it dependent on specific endianess, instruction set(cpu architecture) or anything else? If it is not portable, is there such a compression library that produces portable compressed data? If so, please give me a pointer.

Thank you!

@david-zhao david-zhao changed the title is the compressed data portable Is the compressed data portable? Apr 17, 2019
@lemire
Copy link
Owner

lemire commented Apr 17, 2019

There are many choices... but it is hard to answer in the abstract, not knowing what you are looking for...

  • Roaring Bitmaps have total interoperability between C, Java, Go... there is a standard format that is the same across all platforms.
  • streamvbyte supports both ARM and x64 (Haswell or better).

And so forth. If you consult our README, you will notice that we reference many other libraries.

Regarding endianess... do you program for any processor that does not support little endian? I haven't seen such a processor in well over a decade.

@david-zhao
Copy link
Author

david-zhao commented Apr 18, 2019 via email

@lemire
Copy link
Owner

lemire commented Apr 18, 2019

Depending on what you are after, either streamvbyte or Roaring Bitmaps might fit the bill. Or not... it depends of your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants