{"action":"created","issue":{"url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/6","labels_url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/6/comments","events_url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/6/events","html_url":"https://github.com/AdamStelmaszczyk/gtsa/issues/6","id":111287384,"number":6,"title":"Mirror library in C++","user":{"login":"AdamStelmaszczyk","id":733573,"avatar_url":"https://avatars.githubusercontent.com/u/733573?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamStelmaszczyk","html_url":"https://github.com/AdamStelmaszczyk","followers_url":"https://api.github.com/users/AdamStelmaszczyk/followers","following_url":"https://api.github.com/users/AdamStelmaszczyk/following{/other_user}","gists_url":"https://api.github.com/users/AdamStelmaszczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamStelmaszczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamStelmaszczyk/subscriptions","organizations_url":"https://api.github.com/users/AdamStelmaszczyk/orgs","repos_url":"https://api.github.com/users/AdamStelmaszczyk/repos","events_url":"https://api.github.com/users/AdamStelmaszczyk/events{/privacy}","received_events_url":"https://api.github.com/users/AdamStelmaszczyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T22:47:00Z","updated_at":"2015-10-25T15:39:51Z","closed_at":"2015-10-25T13:34:08Z","body":"Currently only Python library is available. In parallel to it, mirror library will be available, in C++.\r\n\r\nPython was chosen because of the speed and ease of development and prototyping. New features and upgrades will be always implemented and tested there first.\r\n\r\nHowever, Python is unfortunately much slower than compiled C++. So, to gain probably like 10-100x speed up there will be a mirror library, a port from Python to C++. Performance is important, 100x speed up means 100x more simulations (within the time limit which always exists during competitions).\r\n\r\nThe libraries will be both in the same repository. There will be two root directories - `python` and `cpp`."},"comment":{"url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/comments/150935766","html_url":"https://github.com/AdamStelmaszczyk/gtsa/issues/6#issuecomment-150935766","issue_url":"https://api.github.com/repos/AdamStelmaszczyk/gtsa/issues/6","id":150935766,"user":{"login":"AdamStelmaszczyk","id":733573,"avatar_url":"https://avatars.githubusercontent.com/u/733573?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamStelmaszczyk","html_url":"https://github.com/AdamStelmaszczyk","followers_url":"https://api.github.com/users/AdamStelmaszczyk/followers","following_url":"https://api.github.com/users/AdamStelmaszczyk/following{/other_user}","gists_url":"https://api.github.com/users/AdamStelmaszczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamStelmaszczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamStelmaszczyk/subscriptions","organizations_url":"https://api.github.com/users/AdamStelmaszczyk/orgs","repos_url":"https://api.github.com/users/AdamStelmaszczyk/repos","events_url":"https://api.github.com/users/AdamStelmaszczyk/events{/privacy}","received_events_url":"https://api.github.com/users/AdamStelmaszczyk/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T15:39:51Z","updated_at":"2015-10-25T15:39:51Z","body":"I did a simple performance test: \r\n\r\nHow many MCTS simulations Python and C++ (on -O2) will make during 1 second in Tic Tac Toe? \r\n\r\nI've run it 10 times for one language and final number of simulations was the average from runs.\r\n\r\nPython: 2300\r\nC++: 82000\r\n\r\nThat's about 36 times more."}}