Build reproducibility checks usually use bitwise comparison, not hash comparison.
The Reproducible Builds project also wrote diffoscope, which goes quite far with helping identify where differences occur and how to fix them.
https://reproducible-builds.org/ https://diffoscope.org/ https://try.diffoscope.org/
Let’s say, for the positive case, hash comparison is significantly faster.