google / riegeli

Riegeli/records is a file format for storing a sequence of string records, typically serialized protocol buffers.
Apache License 2.0
418 stars 53 forks source link

The size of float is no diff between double #19

Open jarek0209 opened 3 years ago

jarek0209 commented 3 years ago

I used double in protobuf , now I want to reduce the size of data, so I change it to float, but the size is no change Is riegeli compression double data well than float?

QrczakMK commented 3 years ago

double should take more space than float. Even with compression, it is expected to take more space, although perhaps not that much more than without compression.

Is the file size exactly the same, or is there some small difference?