{"action":"created","issue":{"url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/4","repository_url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano","labels_url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/4/comments","events_url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/4/events","html_url":"https://github.com/CHME5137/rabbits-and-foxes-JoeLaviano/pull/4","id":183248142,"number":4,"title":"A new branch for being faster","user":{"login":"yujiazhang84","id":22506017,"avatar_url":"https://avatars.githubusercontent.com/u/22506017?v=3","gravatar_id":"","url":"https://api.github.com/users/yujiazhang84","html_url":"https://github.com/yujiazhang84","followers_url":"https://api.github.com/users/yujiazhang84/followers","following_url":"https://api.github.com/users/yujiazhang84/following{/other_user}","gists_url":"https://api.github.com/users/yujiazhang84/gists{/gist_id}","starred_url":"https://api.github.com/users/yujiazhang84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujiazhang84/subscriptions","organizations_url":"https://api.github.com/users/yujiazhang84/orgs","repos_url":"https://api.github.com/users/yujiazhang84/repos","events_url":"https://api.github.com/users/yujiazhang84/events{/privacy}","received_events_url":"https://api.github.com/users/yujiazhang84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-16T04:20:40Z","updated_at":"2016-10-16T04:35:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/pulls/4","html_url":"https://github.com/CHME5137/rabbits-and-foxes-JoeLaviano/pull/4","diff_url":"https://github.com/CHME5137/rabbits-and-foxes-JoeLaviano/pull/4.diff","patch_url":"https://github.com/CHME5137/rabbits-and-foxes-JoeLaviano/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/comments/254027050","html_url":"https://github.com/CHME5137/rabbits-and-foxes-JoeLaviano/pull/4#issuecomment-254027050","issue_url":"https://api.github.com/repos/CHME5137/rabbits-and-foxes-JoeLaviano/issues/4","id":254027050,"user":{"login":"yujiazhang84","id":22506017,"avatar_url":"https://avatars.githubusercontent.com/u/22506017?v=3","gravatar_id":"","url":"https://api.github.com/users/yujiazhang84","html_url":"https://github.com/yujiazhang84","followers_url":"https://api.github.com/users/yujiazhang84/followers","following_url":"https://api.github.com/users/yujiazhang84/following{/other_user}","gists_url":"https://api.github.com/users/yujiazhang84/gists{/gist_id}","starred_url":"https://api.github.com/users/yujiazhang84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujiazhang84/subscriptions","organizations_url":"https://api.github.com/users/yujiazhang84/orgs","repos_url":"https://api.github.com/users/yujiazhang84/repos","events_url":"https://api.github.com/users/yujiazhang84/events{/privacy}","received_events_url":"https://api.github.com/users/yujiazhang84/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T04:35:33Z","updated_at":"2016-10-16T04:35:33Z","body":"If I understood the cProfile test right, plotting the figure consumes most of the running time of the program, on which I couldn't make any change. Generating random numbers and appending numbers to the list also takes time. So I used \"random.expovariate\" to generate the random time instead of using the random number method, and it did improve the running time. But for appending numbers, I couldn't thing of a way to replace it in your code."}}
{"actor":{"display_login":"yujiazhang84"}}