{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/24211","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/24211/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/24211/comments","events_url":"https://api.github.com/repos/angular/angular/issues/24211/events","html_url":"https://github.com/angular/angular/pull/24211","id":327938572,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNjEwNDAz","number":24211,"title":"refactor(ivy): replace LView.child with TView.childIndex lookup","user":{"login":"kara","id":3871688,"node_id":"MDQ6VXNlcjM4NzE2ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/3871688?v=4","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false},"labels":[{"id":217969169,"node_id":"MDU6TGFiZWwyMTc5NjkxNjk=","url":"https://api.github.com/repos/angular/angular/labels/PR%20action:%20review","name":"PR action: review","color":"fbca04","default":false},{"id":660621334,"node_id":"MDU6TGFiZWw2NjA2MjEzMzQ=","url":"https://api.github.com/repos/angular/angular/labels/PR%20target:%20master-only","name":"PR target: master-only","color":"5319e7","default":false},{"id":149476251,"node_id":"MDU6TGFiZWwxNDk0NzYyNTE=","url":"https://api.github.com/repos/angular/angular/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false},{"id":799860804,"node_id":"MDU6TGFiZWw3OTk4NjA4MDQ=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20ivy","name":"comp: ivy","color":"c5def5","default":false},{"id":218430644,"node_id":"MDU6TGFiZWwyMTg0MzA2NDQ=","url":"https://api.github.com/repos/angular/angular/labels/type:%20refactor","name":"type: refactor","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-30T23:51:07Z","updated_at":"2018-05-31T00:18:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/24211","html_url":"https://github.com/angular/angular/pull/24211","diff_url":"https://github.com/angular/angular/pull/24211.diff","patch_url":"https://github.com/angular/angular/pull/24211.patch"},"body":"This PR removes `LView.child` and replaces it with `getLViewChild()`, a function that looks up the proper view or container instance using the index of its host node in `data[]` (which is now stored in `TView.childIndex`). This approach saves some runtime memory because there should only be one `TView` per component definition (as opposed to one `LView` per component instance). It's a small part of an ongoing refactor to reduce memory pressure (eventually by removing `LNode` and most of `LView`).\r\n\r\nFrom now on, we should use `getLViewChild()` instead of `LView.child` to grab child views.\r\n\r\nStill TODO:\r\n- Other `LView` tree markers: next, parent, tail, etc.\r\n- Finish up `LNode` removal (waiting on i18n)"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/393360481","html_url":"https://github.com/angular/angular/pull/24211#issuecomment-393360481","issue_url":"https://api.github.com/repos/angular/angular/issues/24211","id":393360481,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzM2MDQ4MQ==","user":{"login":"kara","id":3871688,"node_id":"MDQ6VXNlcjM4NzE2ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/3871688?v=4","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T00:18:08Z","updated_at":"2018-05-31T00:18:08Z","author_association":"CONTRIBUTOR","body":"[presubmit](http://test/OCL:198645919:BASE:198645946:1527725866442:14122ea0)"}}
{"actor":{"display_login":"kara"}}