We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在函数调用场景下,对性能消耗较大的函数进行缓存是重要的性能优化手段。
精读文章:https://whatthefork.is/memoization
精读《函数缓存》
The text was updated successfully, but these errors were encountered:
函数本身也是对象,所以也可以直接将缓存存放到自身。
Sorry, something went wrong.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments/callee
arguments.callee 已经被废弃了,有啥新办法能让函数自己访问到自己么
arguments.callee
No branches or pull requests
在函数调用场景下,对性能消耗较大的函数进行缓存是重要的性能优化手段。
精读文章:https://whatthefork.is/memoization
精读《函数缓存》
The text was updated successfully, but these errors were encountered: