Open shao-hua-li opened 2 years ago
Yes, this might happen. We did not completely got rid of floating-point ops, so result might be compiler- and CPU-dependent. Going to keep this issue open, as this is one of our future goals.
Thanks for the reply! I just worried that developers may use checksum to validate the integrity, which might be falsely broken due to this issue. Looking forward to your solution! :).
IIRC, compression levels 0-9 should does not use FP, so should produce same output across compilers/CPUs.
Hi there,
I found that brotli would emit different compressed files if I compiled with different compilers.
brotli -fq 11 diff_0 -o output
with twobrotli
compiled by different compilers. 3) You'll see they emit different compressed output files.Thanks, Shaohua