{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/23748","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/23748/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/23748/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/23748/events","html_url":"https://github.com/dart-lang/sdk/issues/23748","id":91932040,"number":23748,"title":"Object.runtimeType needs to be added to the intrinsics list to avoid calls into the runtime","user":{"login":"a-siva","id":8633293,"avatar_url":"https://avatars.githubusercontent.com/u/8633293?v=3","gravatar_id":"","url":"https://api.github.com/users/a-siva","html_url":"https://github.com/a-siva","followers_url":"https://api.github.com/users/a-siva/followers","following_url":"https://api.github.com/users/a-siva/following{/other_user}","gists_url":"https://api.github.com/users/a-siva/gists{/gist_id}","starred_url":"https://api.github.com/users/a-siva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-siva/subscriptions","organizations_url":"https://api.github.com/users/a-siva/orgs","repos_url":"https://api.github.com/users/a-siva/repos","events_url":"https://api.github.com/users/a-siva/events{/privacy}","received_events_url":"https://api.github.com/users/a-siva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Accepted","name":"Accepted","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-VM","name":"Area-VM","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"sgmitrovic","id":5032565,"avatar_url":"https://avatars.githubusercontent.com/u/5032565?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmitrovic","html_url":"https://github.com/sgmitrovic","followers_url":"https://api.github.com/users/sgmitrovic/followers","following_url":"https://api.github.com/users/sgmitrovic/following{/other_user}","gists_url":"https://api.github.com/users/sgmitrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmitrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmitrovic/subscriptions","organizations_url":"https://api.github.com/users/sgmitrovic/orgs","repos_url":"https://api.github.com/users/sgmitrovic/repos","events_url":"https://api.github.com/users/sgmitrovic/events{/privacy}","received_events_url":"https://api.github.com/users/sgmitrovic/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-29T23:09:56Z","updated_at":"2015-07-01T21:32:16Z","closed_at":"2015-07-01T21:32:16Z","body":"The mine_digger example in sky spends a lot of time in Object.runtimeType even with basic types which have no parameterized types, e.g:\r\n\r\nClass: DecoratedBox NULL TypeArguments 0 arguments\r\nClass: Listener NULL TypeArguments 0 arguments\r\nClass: CoveredMineNode NULL TypeArguments 0 arguments\r\nClass: Container NULL TypeArguments 0 arguments\r\nClass: Padding NULL TypeArguments 0 arguments\r\netc.\r\n\r\nPerformance would benefit if we intrinsified runtimeType for the simple case :\r\n    if ((NumTypeArguments() == 0) && !IsSignatureClass()) {\r\n      return reinterpret_cast<RawType*>(raw_ptr()->canonical_types_);\r\n    }"}}