Dietary fiber slows the transit of carbohydrates from the stomach, preventing the rapid increase of blood sugar.