According to a research conducted at the Columbia University, New York, eating high-carb food before going to sleep can affect your sleep latency. It is better to eat a high-fat diet, which promotes quality sleep. You cannot sleep if your digestive system is working aggressively and a high carb diet takes more time to digest