The main purpose is savings runtime since retrieving a value from memory is often faster than undergoing a time consuming computation ( see Space-time tradeoff ) . The savings in terms of processing time can be significant , since retrieving a value from memory is often faster than undergoing an ` expensive ' computation or input\/output operation .