angular/packages/core/test/render3
Kristiyan Kostadinov 22d13bfba7 refactor(core): track match index of directives (#60075)
If we want to target an input write to a directive, we have to know the index at which its instance is stored. Technically we can already find this by looking through `TView.data`, but that'll require a linear lookup for each write which can get slow.

These changes introduce the new `TNode.directiveToIndex` map which allows us to quickly find the index of a directive based on its definition, as well as any host directives that its might've brought in.

PR Close #60075
2025-02-25 10:58:50 -05:00
..
i18n refactor(core): move TNode manipulation logic to its own file (#59601) 2025-01-21 10:48:44 -08:00
instructions refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00
interfaces refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ivy refactor(core): simplify how inputs are stored in the directive definition (#59980) 2025-02-18 19:27:59 +00:00
jit refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
styling_next refactor(core): move TNode manipulation logic to its own file (#59601) 2025-01-21 10:48:44 -08:00
util refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel fix(core): untrack various core operations (#54614) 2024-02-29 11:38:54 +01:00
change_detection_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
component_ref_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
deps_tracker_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
di_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
es2015-tsconfig.json fix(core): destroy hooks not set up for useClass provider using forwardRef (#44281) 2021-11-30 11:56:05 -05:00
global_utils_spec.ts feat(core): add utility for resolving defer block information to ng global (#59184) 2024-12-16 10:26:43 -08:00
i18n_debug_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
imported_renderer2.ts feat(core): add event listener options to renderer (#59092) 2024-12-10 13:39:47 -08:00
instructions_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
integration_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
is_shape_of.ts refactor(core): track match index of directives (#60075) 2025-02-25 10:58:50 -05:00
is_shape_of_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
jit_environment_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
list_reconciliation_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
load_domino.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
matchers.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
matchers_spec.ts refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00
metadata_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
microtask_effect_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
multi_map_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_selector_matcher_spec.ts refactor(core): simplify attributes extraction logic for ComponentRef (#59678) 2025-01-27 13:15:21 +01:00
providers_helper.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
providers_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
query_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
reactive_safety_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
reactivity_spec.ts test(core): clean up explicit standalone flags from tests (#60062) 2025-02-24 11:27:44 -05:00
testing_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
utils.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
view_fixture.ts refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00
view_utils_spec.ts refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00