We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72def41 commit 8548ef1Copy full SHA for 8548ef1
1 file changed
Cache/Memoize.js
@@ -1,16 +1,14 @@
1
/**
2
- * Memoize
3
- *
+ * @function memoize
+ * @description ->
4
* From [Wikipedia](https://en.wikipedia.org/wiki/Memoization),
5
* memoization is an optimization technique
6
* used primarily to speed up computer programs,
7
* by storing the results of expensive function calls
8
* and returning the cached result when the same inputs occur again
9
10
* This function is a first class objects,
11
* which lets us use it as [Higher-Order Function](https://eloquentjavascript.net/05_higher_order.html)
12
* and return another function
13
14
* @param {Function} func Original function
15
* @returns {Function} Memoized function
16
*/
0 commit comments