Memory Efficiency in Iterative Learning Control