{"action":"created","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/1108","repository_url":"https://api.github.com/repos/lampepfl/dotty","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/1108/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/1108/events","html_url":"https://github.com/lampepfl/dotty/pull/1108","id":134685569,"number":1108,"title":"Change classof","user":{"login":"odersky","id":795990,"avatar_url":"https://avatars.githubusercontent.com/u/795990?v=3","gravatar_id":"","url":"https://api.github.com/users/odersky","html_url":"https://github.com/odersky","followers_url":"https://api.github.com/users/odersky/followers","following_url":"https://api.github.com/users/odersky/following{/other_user}","gists_url":"https://api.github.com/users/odersky/gists{/gist_id}","starred_url":"https://api.github.com/users/odersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odersky/subscriptions","organizations_url":"https://api.github.com/users/odersky/orgs","repos_url":"https://api.github.com/users/odersky/repos","events_url":"https://api.github.com/users/odersky/events{/privacy}","received_events_url":"https://api.github.com/users/odersky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-18T20:25:55Z","updated_at":"2016-02-19T00:07:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lampepfl/dotty/pulls/1108","html_url":"https://github.com/lampepfl/dotty/pull/1108","diff_url":"https://github.com/lampepfl/dotty/pull/1108.diff","patch_url":"https://github.com/lampepfl/dotty/pull/1108.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/comments/185987498","html_url":"https://github.com/lampepfl/dotty/pull/1108#issuecomment-185987498","issue_url":"https://api.github.com/repos/lampepfl/dotty/issues/1108","id":185987498,"user":{"login":"DarkDimius","id":1084930,"avatar_url":"https://avatars.githubusercontent.com/u/1084930?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDimius","html_url":"https://github.com/DarkDimius","followers_url":"https://api.github.com/users/DarkDimius/followers","following_url":"https://api.github.com/users/DarkDimius/following{/other_user}","gists_url":"https://api.github.com/users/DarkDimius/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDimius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDimius/subscriptions","organizations_url":"https://api.github.com/users/DarkDimius/orgs","repos_url":"https://api.github.com/users/DarkDimius/repos","events_url":"https://api.github.com/users/DarkDimius/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDimius/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T00:07:48Z","updated_at":"2016-02-19T00:07:48Z","body":"I agree that \r\n\r\n> `classOf[T]` is much nicer than `implicitly[ClassTag[T]].runtimeClass`.\r\n\r\nI wouldn't be surprised if there will be some performance regressions if we follow the proposed scheme, as it would become harder for JVM to speculate\\discover what particular `java.lang.Class` is being used. Now it would require to peeling of the ClassTag that wraps the `java.lang.Class`.\r\n\r\nThough I agree that this potential inefficiency can be eliminated by a very simple optimization. And thus I propose to not consider the performance of runtime code when discussing this PR."}}