Diffraction is strongest when the gap is the same size as the wavelength of the waves.
As before the wavelength is the same on both sides - the wave speed is the same, so the wavelength is the same.