The Mechanisms of Market Efficiency