Zero-decking an engine "on the edge" is good because it reduces turbulence in the chamber as the mixture is compressing. Reduced turbulence translates to less "friction heat" among the molecules in the mixture, thus reducing the tendency to detonate.