{"action":"created","issue":{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/334","labels_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/334/comments","events_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/334/events","html_url":"https://github.com/Axelrod-Python/Axelrod/pull/334","id":109405447,"number":334,"title":"simplify cooperations and defections2","user":{"login":"bootandy","id":311785,"avatar_url":"https://avatars.githubusercontent.com/u/311785?v=3","gravatar_id":"","url":"https://api.github.com/users/bootandy","html_url":"https://github.com/bootandy","followers_url":"https://api.github.com/users/bootandy/followers","following_url":"https://api.github.com/users/bootandy/following{/other_user}","gists_url":"https://api.github.com/users/bootandy/gists{/gist_id}","starred_url":"https://api.github.com/users/bootandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootandy/subscriptions","organizations_url":"https://api.github.com/users/bootandy/orgs","repos_url":"https://api.github.com/users/bootandy/repos","events_url":"https://api.github.com/users/bootandy/events{/privacy}","received_events_url":"https://api.github.com/users/bootandy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-01T23:39:43Z","updated_at":"2015-10-03T11:45:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/334","html_url":"https://github.com/Axelrod-Python/Axelrod/pull/334","diff_url":"https://github.com/Axelrod-Python/Axelrod/pull/334.diff","patch_url":"https://github.com/Axelrod-Python/Axelrod/pull/334.patch"},"body":"Turn them in to properties and read them from player.history\r\nMakes code simpler"},"comment":{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/comments/145242235","html_url":"https://github.com/Axelrod-Python/Axelrod/pull/334#issuecomment-145242235","issue_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/334","id":145242235,"user":{"login":"bootandy","id":311785,"avatar_url":"https://avatars.githubusercontent.com/u/311785?v=3","gravatar_id":"","url":"https://api.github.com/users/bootandy","html_url":"https://github.com/bootandy","followers_url":"https://api.github.com/users/bootandy/followers","following_url":"https://api.github.com/users/bootandy/following{/other_user}","gists_url":"https://api.github.com/users/bootandy/gists{/gist_id}","starred_url":"https://api.github.com/users/bootandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootandy/subscriptions","organizations_url":"https://api.github.com/users/bootandy/orgs","repos_url":"https://api.github.com/users/bootandy/repos","events_url":"https://api.github.com/users/bootandy/events{/privacy}","received_events_url":"https://api.github.com/users/bootandy/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T11:45:02Z","updated_at":"2015-10-03T11:45:02Z","body":"This branch:\r\n Starting basic_strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all basic_strategies tasks in 1.7s\r\n Starting strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all strategies tasks in 166.5s\r\n Starting cheating_strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all cheating_strategies tasks in 6.5s\r\n  \r\nOld code:\r\ngit checkout 0a3a9aa\r\n \r\n  ./run_axelrod\r\n Starting basic_strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all basic_strategies tasks in 1.7s\r\n Starting strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all strategies tasks in 150.2s\r\n Starting cheating_strategies tournament with 10 round robins of 200 turns per pair.\r\n Finished all cheating_strategies tasks in 6.4s\r\n\r\nSo 150s -> 166s ~ 10% performance decrease. \r\nI think it is worth it for simpler code and less redundant data."}}