diff --git a/packages/core/src/render3/PERF_NOTES.md b/packages/core/src/render3/PERF_NOTES.md index cea21d2f12..fc94cb2266 100644 --- a/packages/core/src/render3/PERF_NOTES.md +++ b/packages/core/src/render3/PERF_NOTES.md @@ -67,6 +67,7 @@ for (var i = 0, keys = Object.keys(obj); i < keys.length; i++) { ## Recursive functions Avoid recursive functions when possible because they cannot be inlined. +https://jsperf.com/cost-of-recursion ## Function Inlining