From f01d1c4c8dc360d19fa3bddb66e082709f63b933 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 1 Mar 2019 09:29:34 -0800 Subject: [PATCH] docs(ivy): add link to recursive benchmark (#29060) PR Close #29060 --- packages/core/src/render3/PERF_NOTES.md | 1 + 1 file changed, 1 insertion(+) 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