{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/16659","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/16659/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/16659/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/16659/events","html_url":"https://github.com/dotnet/coreclr/pull/16659","id":301113200,"number":16659,"title":"Improve MemoryMarshal.Cast","user":{"login":"mikedn","id":9973420,"avatar_url":"https://avatars2.githubusercontent.com/u/9973420?v=4","gravatar_id":"","url":"https://api.github.com/users/mikedn","html_url":"https://github.com/mikedn","followers_url":"https://api.github.com/users/mikedn/followers","following_url":"https://api.github.com/users/mikedn/following{/other_user}","gists_url":"https://api.github.com/users/mikedn/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedn/subscriptions","organizations_url":"https://api.github.com/users/mikedn/orgs","repos_url":"https://api.github.com/users/mikedn/repos","events_url":"https://api.github.com/users/mikedn/events{/privacy}","received_events_url":"https://api.github.com/users/mikedn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-28T17:29:09Z","updated_at":"2018-03-01T07:08:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/16659","html_url":"https://github.com/dotnet/coreclr/pull/16659","diff_url":"https://github.com/dotnet/coreclr/pull/16659.diff","patch_url":"https://github.com/dotnet/coreclr/pull/16659.patch"},"body":"Avoid unnecessary checked and signed arithmetic. Handle special cases such as cast between same size types and from byte sized types, the JIT is unable to optimize these cases currently.\r\n\r\nContributes to #15492\r\n\r\nIt would be nice to address some of the problems this code exposes in the JIT. But that will take a while so for now let's fix the source code..."},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/369497211","html_url":"https://github.com/dotnet/coreclr/pull/16659#issuecomment-369497211","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/16659","id":369497211,"user":{"login":"AndyAyersMS","id":10121823,"avatar_url":"https://avatars1.githubusercontent.com/u/10121823?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyAyersMS","html_url":"https://github.com/AndyAyersMS","followers_url":"https://api.github.com/users/AndyAyersMS/followers","following_url":"https://api.github.com/users/AndyAyersMS/following{/other_user}","gists_url":"https://api.github.com/users/AndyAyersMS/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyAyersMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyAyersMS/subscriptions","organizations_url":"https://api.github.com/users/AndyAyersMS/orgs","repos_url":"https://api.github.com/users/AndyAyersMS/repos","events_url":"https://api.github.com/users/AndyAyersMS/events{/privacy}","received_events_url":"https://api.github.com/users/AndyAyersMS/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T07:08:08Z","updated_at":"2018-03-01T07:08:08Z","author_association":"MEMBER","body":"Still measure a bit of a slowdown for some cases but when looking at diffs it doesn't make a lot of sense. So perhaps my baseline data (which came from the runs I did for #16654) is stale.\r\n\r\n![image](https://user-images.githubusercontent.com/10121823/36831281-f7e8a39e-1cdb-11e8-844f-53cf643d7402.png)\r\n"}}
{"actor":{"display_login":"AndyAyersMS"}}