We propose a wavefront reconstruction method which improves the wavefront sensing frequency, by compressing the number of the modulation functions. The Walsh functions which are highly correlated with the real part of the incident light field are selected, and their coefficients are calculated relatively. Thus, the real part of the light field is reconstructed. Meanwhile, the imaginary part of the optical field is reconstructed based on the light intensity distribution, which avoids the dependence on the multiplication theorem of the Walsh function and the use of the extra modulation modes. The method sufficiently compresses the number of modulation modes greatly in the wavefront reconstruction and improves the wavefront sampling frequency. The numerical simulation results indicate that the sampling time of wavefront can be decreased to 1/12 based on the proposed method.