{"action":"created","issue":{"url":"https://api.github.com/repos/HIPS/autograd/issues/136","repository_url":"https://api.github.com/repos/HIPS/autograd","labels_url":"https://api.github.com/repos/HIPS/autograd/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/HIPS/autograd/issues/136/comments","events_url":"https://api.github.com/repos/HIPS/autograd/issues/136/events","html_url":"https://github.com/HIPS/autograd/pull/136","id":170508198,"number":136,"title":"Use a[idx] += b instead of numpy.add.at(a, idx, b)","user":{"login":"davidweichiang","id":1399913,"avatar_url":"https://avatars.githubusercontent.com/u/1399913?v=3","gravatar_id":"","url":"https://api.github.com/users/davidweichiang","html_url":"https://github.com/davidweichiang","followers_url":"https://api.github.com/users/davidweichiang/followers","following_url":"https://api.github.com/users/davidweichiang/following{/other_user}","gists_url":"https://api.github.com/users/davidweichiang/gists{/gist_id}","starred_url":"https://api.github.com/users/davidweichiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidweichiang/subscriptions","organizations_url":"https://api.github.com/users/davidweichiang/orgs","repos_url":"https://api.github.com/users/davidweichiang/repos","events_url":"https://api.github.com/users/davidweichiang/events{/privacy}","received_events_url":"https://api.github.com/users/davidweichiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-10T20:15:23Z","updated_at":"2016-08-11T01:02:53Z","closed_at":"2016-08-11T01:02:08Z","pull_request":{"url":"https://api.github.com/repos/HIPS/autograd/pulls/136","html_url":"https://github.com/HIPS/autograd/pull/136","diff_url":"https://github.com/HIPS/autograd/pull/136.diff","patch_url":"https://github.com/HIPS/autograd/pull/136.patch"},"body":"numpy.add.at is slow (https://github.com/numpy/numpy/issues/5922); this change uses += instead, as long as we can be sure (?) that no element is indexed more than once. This speeds up my toy example by about 40%. "},"comment":{"url":"https://api.github.com/repos/HIPS/autograd/issues/comments/239049507","html_url":"https://github.com/HIPS/autograd/pull/136#issuecomment-239049507","issue_url":"https://api.github.com/repos/HIPS/autograd/issues/136","id":239049507,"user":{"login":"davidweichiang","id":1399913,"avatar_url":"https://avatars.githubusercontent.com/u/1399913?v=3","gravatar_id":"","url":"https://api.github.com/users/davidweichiang","html_url":"https://github.com/davidweichiang","followers_url":"https://api.github.com/users/davidweichiang/followers","following_url":"https://api.github.com/users/davidweichiang/following{/other_user}","gists_url":"https://api.github.com/users/davidweichiang/gists{/gist_id}","starred_url":"https://api.github.com/users/davidweichiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidweichiang/subscriptions","organizations_url":"https://api.github.com/users/davidweichiang/orgs","repos_url":"https://api.github.com/users/davidweichiang/repos","events_url":"https://api.github.com/users/davidweichiang/events{/privacy}","received_events_url":"https://api.github.com/users/davidweichiang/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T01:02:53Z","updated_at":"2016-08-11T01:02:53Z","body":"Oh, to be precise, the `in` was already causing the exception.\r\n\r\nThanks for merging and thanks a great library -- I think I may be adopting it in my course!"}}
{"actor":{"display_login":"davidweichiang"}}