angular/packages/core/src/render3
arturovt f24246ef25 refactor(core): inline isFactory within getNodeInjectable (#59824)
This commit inlines the `isFactory` function body directly within `getNodeInjectable` because it is only used once. ESBuild does not inline its body within the function, which can be observed when running the build with `NG_BUILD_MANGLE=0`. The results after inlining are as follows:

```
getNodeInjectable x 70,397,377 ops/sec ±3.88% (52 runs sampled)
getNodeInjectable_inlined x 77,834,432 ops/sec ±3.13% (60 runs sampled)
```

PR Close #59824
2025-03-05 17:24:53 +00:00
..
after_render fix(core): Defer afterRender until after first CD (#59455) (#59551) 2025-02-12 12:20:04 -08:00
debug refactor(core): implement experimental getSignalGraph debug API (#57074) 2024-12-10 13:47:03 -08:00
deps_tracker refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
features refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
i18n refactor(core): move directive matching logic to a separate file (#59843) 2025-02-05 08:56:27 -08:00
instructions refactor(core): inline isFactory within getNodeInjectable (#59824) 2025-03-05 17:24:53 +00:00
interfaces refactor(core): inline isFactory within getNodeInjectable (#59824) 2025-03-05 17:24:53 +00:00
jit refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
queries refactor(core): move logic out of shared instructions code (#59453) 2025-01-15 12:20:27 -08:00
reactivity docs: fix all brokens links on the API pages (#59162) 2025-03-04 20:07:24 +00:00
styling docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
util docs: fix all brokens links on the API pages (#59162) 2025-03-04 20:07:24 +00:00
view refactor(core): avoid memory allocations if there are no host directives (#60075) 2025-02-25 10:58:51 -05:00
apply_value_input_field.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
assert.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
bindings.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
chained_injector.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
CODE_GEN_API.md refactor(ivy): Move instructions back to ɵɵ (#30546) 2019-05-20 16:37:47 -07:00
collect_native_nodes.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
component.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
component_ref.ts fix(core): cache ComponentRef inputs and outputs (#60156) 2025-02-28 16:31:05 +00:00
context_discovery.ts refactor(core): prevent duplicating componentOffset checks (#59611) 2025-01-23 14:23:29 -08:00
def_getters.ts refactor(core): remove outdated comment. (#59401) 2025-01-07 17:05:12 +00:00
definition.ts docs: fix all brokens links on the API pages (#59162) 2025-03-04 20:07:24 +00:00
definition_factory.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
di.ts refactor(core): inline isFactory within getNodeInjectable (#59824) 2025-03-05 17:24:53 +00:00
di_setup.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
dom_node_manipulation.ts refactor(core): move TNode manipulation logic to its own file (#59601) 2025-01-21 10:48:44 -08:00
errors.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
errors_di.ts refactor(core): inline depPath in throwCyclicDependencyError to be dropped (#60084) 2025-02-26 11:10:38 -05:00
fields.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
global_utils_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
hmr.ts fix(core): capture stack for HMR errors (#60067) 2025-02-24 11:56:17 -05:00
hooks.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
index.ts refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
list_reconciliation.ts refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
local_compilation.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
namespaces.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_ref.ts refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
node_assert.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_manipulation.ts refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00
node_manipulation_i18n.ts refactor(core): move DOM manipulation logic to its own file (#59462) 2025-01-16 10:38:44 -08:00
node_selector_matcher.ts refactor(core): simplify attributes extraction logic for ComponentRef (#59678) 2025-01-27 13:15:21 +01:00
PERF_NOTES.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
pipe.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
profiler.ts refactor(core): profiler takes null as a default instance (#59233) 2025-01-14 12:35:21 -05:00
profiler_types.ts refactor(core): profiler takes null as a default instance (#59233) 2025-01-14 12:35:21 -05:00
pure_function.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
reactive_lview_consumer.ts refactor(core): implement experimental getSignalGraph debug API (#57074) 2024-12-10 13:47:03 -08:00
scope.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
standalone_service.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
state.ts docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
STORING_METADATA_IN_D.TS.md docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
tnode_manipulation.ts refactor(core): track match index of directives (#60075) 2025-02-25 10:58:51 -05:00
tokens.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
TREE_SHAKING.md docs(ivy): add feature principle doc (#21565) 2018-01-17 17:01:09 -08:00
view_context.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
VIEW_DATA.md fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
view_engine_compatibility_prebound.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_manipulation.ts refactor(core): move LContainer manipulation logic to its own file (#59856) 2025-02-18 15:41:42 +00:00
view_ref.ts refactor(core): extract dirty and markForRefresh from the private ViewRef. (#59122) 2025-03-04 22:05:41 +00:00