fixup! docs: add Function Inlining rules to PERF_NOTES.md

Co-Authored-By: mhevery <misko@hevery.com>
This commit is contained in:
Ben Lesh
2018-10-31 14:38:38 -07:00
committed by GitHub
parent 2ac729262b
commit f4e7920f25

View File

@ -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.
```