{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/19200","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/19200/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/19200/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/19200/events","html_url":"https://github.com/JuliaLang/julia/pull/19200","id":186933648,"number":19200,"title":"More fair equivalent for pisum() function in R","user":{"login":"kenahoo","id":111939,"avatar_url":"https://avatars.githubusercontent.com/u/111939?v=3","gravatar_id":"","url":"https://api.github.com/users/kenahoo","html_url":"https://github.com/kenahoo","followers_url":"https://api.github.com/users/kenahoo/followers","following_url":"https://api.github.com/users/kenahoo/following{/other_user}","gists_url":"https://api.github.com/users/kenahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenahoo/subscriptions","organizations_url":"https://api.github.com/users/kenahoo/orgs","repos_url":"https://api.github.com/users/kenahoo/repos","events_url":"https://api.github.com/users/kenahoo/events{/privacy}","received_events_url":"https://api.github.com/users/kenahoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-02T22:09:26Z","updated_at":"2016-11-02T22:39:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/19200","html_url":"https://github.com/JuliaLang/julia/pull/19200","diff_url":"https://github.com/JuliaLang/julia/pull/19200.diff","patch_url":"https://github.com/JuliaLang/julia/pull/19200.patch"},"body":"The `pisum` function in the Julia benchmarks uses a vectorized squaring & reciprocal operation on its indices, so it seems fair that R should also.  It's also shorter and more idiomatic of what a typical R programmer would do."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/258021294","html_url":"https://github.com/JuliaLang/julia/pull/19200#issuecomment-258021294","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/19200","id":258021294,"user":{"login":"kenahoo","id":111939,"avatar_url":"https://avatars.githubusercontent.com/u/111939?v=3","gravatar_id":"","url":"https://api.github.com/users/kenahoo","html_url":"https://github.com/kenahoo","followers_url":"https://api.github.com/users/kenahoo/followers","following_url":"https://api.github.com/users/kenahoo/following{/other_user}","gists_url":"https://api.github.com/users/kenahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenahoo/subscriptions","organizations_url":"https://api.github.com/users/kenahoo/orgs","repos_url":"https://api.github.com/users/kenahoo/repos","events_url":"https://api.github.com/users/kenahoo/events{/privacy}","received_events_url":"https://api.github.com/users/kenahoo/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T22:39:06Z","updated_at":"2016-11-02T22:39:06Z","body":"Oops, sorry, since `pisumvec` isn't shown in the table on http://julialang.org/ , I didn't notice that it existed and I confused one for the other.\r\n\r\nIt looks like the difference between `pisumvec` in the two languages is that in R it constructs a 500-element vector and then throws away all but the first element, whereas in Julia it only saves the current element, and eventually returns it.  Probably a minor difference.\r\n\r\nSorry for the noise!"}}
{"actor":{"display_login":"kenahoo"}}