Title: Generate Change Detection classes instead of getter setter stubs · Issue #502 · angular/angular · GitHub
Open Graph Title: Generate Change Detection classes instead of getter setter stubs · Issue #502 · angular/angular
X Title: Generate Change Detection classes instead of getter setter stubs · Issue #502 · angular/angular
Description: Depends on #501, #503 Executing change detection using getter stubs (see #501) has two issues. it causes polymorphic calls, which limits the execution speed. it prevents proper tree shaking of dart2js. To address this instead of generati...
Open Graph Description: Depends on #501, #503 Executing change detection using getter stubs (see #501) has two issues. it causes polymorphic calls, which limits the execution speed. it prevents proper tree shaking of dart...
X Description: Depends on #501, #503 Executing change detection using getter stubs (see #501) has two issues. it causes polymorphic calls, which limits the execution speed. it prevents proper tree shaking of dart...
Opengraph URL: https://github.com/angular/angular/issues/502
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generate Change Detection classes instead of getter setter stubs","articleBody":"Depends on #501, #503\n\nExecuting change detection using getter stubs (see #501) has two issues. \n1) it causes polymorphic calls, which limits the execution speed.\n2) it prevents proper tree shaking of dart2js.\n\nTo address this instead of generating getters stubs we can generate ChangeDetector class. The changeDetector class is a bit more complicated, but it has significant performance and size impact.\n\nThe JS code generation is already working and its implementation can be seen in [`change_detection_jit_generator.es6`](https://github.com/angular/angular/blob/master/modules/change_detection/src/change_detection_jit_generator.es6) The equivalent dart version needs to be implemented in [`change_detection_jit_generator.dart`](https://github.com/angular/angular/blob/master/modules/change_detection/src/change_detection_jit_generator.dart).\n\nWhile in JS we can run the generator at runtime, the dart version needs to execute at transform time. \n","author":{"url":"https://github.com/mhevery","@type":"Person","name":"mhevery"},"datePublished":"2015-01-30T16:48:28Z","url":"https://github.com/angular/angular/issues/502"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c92de17-d6b0-57db-80a6-7f7c3c3fbac5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D870:14ECB:DA4761:116AC18:6B01052B |
| html-safe-nonce | ca2fe086c7f3ca3de945ef041cb18b1b9cca3dc590f6cfa0de100db36f852bbb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODcwOjE0RUNCOkRBNDc2MToxMTZBQzE4OjZCMDEwNTJCIiwidmlzaXRvcl9pZCI6Ijg3NDY4MTE4NTUyNjE1NDUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 035fabc99087d484493cfad4a1126b6c9424c86a77a07729c5d3ecd6f053ce4e |
| hovercard-subject-tag | issue:56056519 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/502/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d2b859204d1841285fa3a2dadcc9539d97ca5f4ff7d73342e153c871e8a5d38d/angular/angular/issues/502 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d2b859204d1841285fa3a2dadcc9539d97ca5f4ff7d73342e153c871e8a5d38d/angular/angular/issues/502 |
| og:image:alt | Depends on #501, #503 Executing change detection using getter stubs (see #501) has two issues. it causes polymorphic calls, which limits the execution speed. it prevents proper tree shaking of dart... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhevery |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width