angular/packages/core
Kristiyan Kostadinov cc1ec09931 perf(core): avoid repeat searches for field directive
The `getControlDirective` is called multiple times, both at init and during each update run. Under the hood it performs a linear search for the `Field` directive.

We can speed this up by finding its index once and reusing it since the array of directive matches is static.

(cherry picked from commit 5e6d8573f4)
2025-11-19 22:28:59 +00:00
..
global build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
primitives refactor(core): flip ngDevMode condition for formatter 2025-11-13 18:01:13 +00:00
resources build: format md files 2025-11-06 10:07:13 -08:00
rxjs-interop docs: Adds links to relevant guides for APIs in core package 2025-11-17 16:47:40 +00:00
schematics build: format md files 2025-11-06 10:07:13 -08:00
src perf(core): avoid repeat searches for field directive 2025-11-19 22:28:59 +00:00
test perf(core): avoid repeat searches for field directive 2025-11-19 22:28:59 +00:00
testing build: format md files 2025-11-06 10:07:13 -08:00
BUILD.bazel refactor(core): move profile_types.ts to primtives 2025-11-06 22:22:38 +00:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json build: bump core zone.js version 2025-11-19 21:22:17 +00:00
PACKAGE.md build: format md files 2025-11-06 10:07:13 -08:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig-test.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00