mirror of
https://github.com/google/brotli.git
synced 2026-09-22 22:56:08 +00:00
Make q10-11 compression floating-point-free #399
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shao-hua-li on GitHub (Oct 21, 2021).
Hi there,
I found that brotli would emit different compressed files if I compiled with different compilers.
62662f87cd)brotli -fq 11 diff_0 -o outputwith twobrotlicompiled by different compilers. 3) You'll see they emit different compressed output files.Thanks,
Shaohua
@eustas commented on GitHub (Jan 10, 2022):
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.
@shao-hua-li commented on GitHub (Jan 10, 2022):
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! :).
@eustas commented on GitHub (Jan 10, 2022):
IIRC, compression levels 0-9 should does not use FP, so should produce same output across compilers/CPUs.