From f4e7920f25941152bfef5bc360621c30b93231d3 Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Wed, 31 Oct 2018 14:38:38 -0700 Subject: [PATCH] fixup! docs: add `Function Inlining` rules to `PERF_NOTES.md` Co-Authored-By: mhevery --- packages/core/src/render3/PERF_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/render3/PERF_NOTES.md b/packages/core/src/render3/PERF_NOTES.md index bc9365da71..8fe570bcfc 100644 --- a/packages/core/src/render3/PERF_NOTES.md +++ b/packages/core/src/render3/PERF_NOTES.md @@ -88,7 +88,7 @@ export function i18nStart(index: number, message: string, subTemplateIndex?: num ``` Notice that the above function almost never runs because `tView.firstTemplatePass` is usually false. -The application would benefit inlining but the large code inside `if` prevents it. +The application would benefit from inlining, but the large code inside `if` prevents it. Simple refactoring will fix it. ```