fix memoization typo, link to wikipedia's overview

This commit is contained in:
Ahmad Jarara
2016-08-28 17:35:52 -04:00
parent 32c55c0365
commit 7adc9c0d03
+1 -1
View File
@@ -602,7 +602,7 @@ clearer and thus preferred.
This mechanism is useful for separating concerns and avoiding
external un-related logic 'polluting' the core logic of the function
or method. A good example of a piece of functionality that is better handled
with decoration is memorization or caching: you want to store the results of an
with decoration is `memoization <https://en.wikipedia.org/wiki/Memoization#Overview>` or caching: you want to store the results of an
expensive function in a table and use them directly instead of recomputing
them when they have already been computed. This is clearly not part
of the function logic.