angular-docs-cn/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler
Kristiyan Kostadinov dde81ba0cd perf(compiler): reduce amount of generated code for safe accesses and nullish coalescing (#41563)
This is follow-up from #41437 and it reduces the amount of code we generate for safe property accesses (`a?.b`) and nullish coalescing (`a ?? b`) by:
1. Reusing variables in nested nullish coalescing expressions.
2. Not initializing temporary variables to `null`. The way our code is generated means that the value will always be overwritten before we compare against it so the initializer didn't really matter.

Fixes #41491.

PR Close #41563
2021-04-14 15:48:21 -07:00
..
animations refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
any refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
hello_world refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
interpolations refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
nullish_coalescing perf(compiler): reduce amount of generated code for safe accesses and nullish coalescing (#41563) 2021-04-14 15:48:21 -07:00
GOLDEN_PARTIAL.js refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
TEST_CASES.json test(compiler-cli): migrate view compliance tests (#39914) 2020-12-01 15:12:40 -08:00
todo_example.ts test(compiler-cli): migrate view compliance tests (#39914) 2020-12-01 15:12:40 -08:00
todo_example_template.js test(compiler-cli): migrate view compliance tests (#39914) 2020-12-01 15:12:40 -08:00