I have a problem in that I need to compress about 6 GB of std::vector() (1.5 billion float in it), and so far I have used lz4, but it only processes int count char s. Since I have 6 billion characters in my vector, this will require 33bit to represent, and compression with LZ4 does not work as I need.
From what I saw in zlib libraries, it accepts int as well as input for the length of the compressed data.
Do I need to segment my data, or is there an environment capable of dealing with more than 32 bits from char s, or am I missing something?
source share