FastPFor
FastPFor copied to clipboard
Function to compute or estimate compressed size
in "FastPFor/headers/codecs.h" virtual std::vector<uint32_t> compress(const std::vector<uint32_t> & data) Is it possible to compute the size of the compressed output or a close approximation instead of allocating a big chunk and resizing it later.?
Absolutely, it is possible. And no, it is not implemented. ;-)
So this is a very valid "feature request".
Good day, If it is possible to calculate the size of the compressed output , how can i do this??
compressed_output.size() can get me the total size of compressed output in bits??
@Soficlyopathrmiss You'll have to be more specific regarding your question.