🚧 施工中
JS ⟩ technique ⟩ memoization
(functional programming)
make a function/method "remember" its return values.
memoize by decorator ⭐️
memoize by closure
memoization by default parameter
YDKJS: Scope & Closures (v.2) ⟩ Ch. 6 (by IIFE, ie. closure)
JS.info ⟩ Decorators and forwarding, call/apply (by decorator)
[演算法] Fibonacci:善用 cache 和 Memoization 提升程式效能 (by parameter)
Wictionary ⟩ memoize - to store (the result of a computation) so that it can be subsequently retrieved without repeating the computation.
decorator
functional programming
Last updated 3 years ago
Was this helpful?