{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/16832","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16832/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16832/comments","events_url":"https://api.github.com/repos/golang/go/issues/16832/events","html_url":"https://github.com/golang/go/issues/16832","id":172475567,"number":16832,"title":"cmd/compile: should recognize binary package and intrinsify it where possible","user":{"login":"dr2chase","id":1928999,"avatar_url":"https://avatars.githubusercontent.com/u/1928999?v=3","gravatar_id":"","url":"https://api.github.com/users/dr2chase","html_url":"https://github.com/dr2chase","followers_url":"https://api.github.com/users/dr2chase/followers","following_url":"https://api.github.com/users/dr2chase/following{/other_user}","gists_url":"https://api.github.com/users/dr2chase/gists{/gist_id}","starred_url":"https://api.github.com/users/dr2chase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr2chase/subscriptions","organizations_url":"https://api.github.com/users/dr2chase/orgs","repos_url":"https://api.github.com/users/dr2chase/repos","events_url":"https://api.github.com/users/dr2chase/events{/privacy}","received_events_url":"https://api.github.com/users/dr2chase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-22T15:01:32Z","updated_at":"2016-08-22T16:05:07Z","closed_at":null,"body":"The compiler should recognize calls to binary.Reader and binary.Writer where the byte order and type of `data interface{}` are compile-time constants, and based on that \"do the right thing\".\r\n\r\nOne candidate for \"the right thing\" is, for target/source types that contain no padding and for the native byte order, alias a byte slice to the storage, and pass that to the read or write method.  Further enhancements could deal with padding and mismatched native/requested byte order."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/241462456","html_url":"https://github.com/golang/go/issues/16832#issuecomment-241462456","issue_url":"https://api.github.com/repos/golang/go/issues/16832","id":241462456,"user":{"login":"dr2chase","id":1928999,"avatar_url":"https://avatars.githubusercontent.com/u/1928999?v=3","gravatar_id":"","url":"https://api.github.com/users/dr2chase","html_url":"https://github.com/dr2chase","followers_url":"https://api.github.com/users/dr2chase/followers","following_url":"https://api.github.com/users/dr2chase/following{/other_user}","gists_url":"https://api.github.com/users/dr2chase/gists{/gist_id}","starred_url":"https://api.github.com/users/dr2chase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr2chase/subscriptions","organizations_url":"https://api.github.com/users/dr2chase/orgs","repos_url":"https://api.github.com/users/dr2chase/repos","events_url":"https://api.github.com/users/dr2chase/events{/privacy}","received_events_url":"https://api.github.com/users/dr2chase/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T16:05:07Z","updated_at":"2016-08-22T16:05:07Z","body":"I understand the reasoning, but the result of this is, as I understand it, that the binary package is (regarded as) slow and ends up unused, with hand-crafted (sometimes unsafe) code used in its place."}}
{"actor":{"display_login":"dr2chase"}}