Caching

References to immutable objects can be cached as they are not going to change; therefore, the same immutable object will be retrieved quickly the next time we try to access it. An example technique is memoization, which we explained in Chapter 2, Functions and Closures.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset