Oak leaves often do take a long time to completely decompose. When they are just in a pile, ample nitrogen is often lacking which slows the decomposition process. But if it is done cooking, there is nothing better than compost for buffering things that could go wrong in soil, like too high or too low pH, or an imbalance of good/bad soil organisms.