{"action":"created","issue":{"url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/115","labels_url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/115/comments","events_url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/115/events","html_url":"https://github.com/Victorious3/Integrated-Circuits/pull/115","id":87369910,"number":115,"title":"Better gate creation sequence for IC assembler","user":{"login":"evg-zhabotinsky","id":6692701,"avatar_url":"https://avatars.githubusercontent.com/u/6692701?v=3","gravatar_id":"","url":"https://api.github.com/users/evg-zhabotinsky","html_url":"https://github.com/evg-zhabotinsky","followers_url":"https://api.github.com/users/evg-zhabotinsky/followers","following_url":"https://api.github.com/users/evg-zhabotinsky/following{/other_user}","gists_url":"https://api.github.com/users/evg-zhabotinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/evg-zhabotinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evg-zhabotinsky/subscriptions","organizations_url":"https://api.github.com/users/evg-zhabotinsky/orgs","repos_url":"https://api.github.com/users/evg-zhabotinsky/repos","events_url":"https://api.github.com/users/evg-zhabotinsky/events{/privacy}","received_events_url":"https://api.github.com/users/evg-zhabotinsky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-11T14:42:00Z","updated_at":"2015-06-11T21:16:36Z","closed_at":"2015-06-11T17:58:30Z","pull_request":{"url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/pulls/115","html_url":"https://github.com/Victorious3/Integrated-Circuits/pull/115","diff_url":"https://github.com/Victorious3/Integrated-Circuits/pull/115.diff","patch_url":"https://github.com/Victorious3/Integrated-Circuits/pull/115.patch"},"body":"Example implementation for #114\r\nI guess it is highly suboptimal (sorts all the gates when it chooses the next one to create), but computations still take miserable amount of time. If you start too many (like thousands) assemblers simultaneously, it might lag quite a bit.\r\n\r\nMight also have placed some code in the wrong file.\r\n\r\nFeel free to reject it."},"comment":{"url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/comments/111279481","html_url":"https://github.com/Victorious3/Integrated-Circuits/pull/115#issuecomment-111279481","issue_url":"https://api.github.com/repos/Victorious3/Integrated-Circuits/issues/115","id":111279481,"user":{"login":"evg-zhabotinsky","id":6692701,"avatar_url":"https://avatars.githubusercontent.com/u/6692701?v=3","gravatar_id":"","url":"https://api.github.com/users/evg-zhabotinsky","html_url":"https://github.com/evg-zhabotinsky","followers_url":"https://api.github.com/users/evg-zhabotinsky/followers","following_url":"https://api.github.com/users/evg-zhabotinsky/following{/other_user}","gists_url":"https://api.github.com/users/evg-zhabotinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/evg-zhabotinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evg-zhabotinsky/subscriptions","organizations_url":"https://api.github.com/users/evg-zhabotinsky/orgs","repos_url":"https://api.github.com/users/evg-zhabotinsky/repos","events_url":"https://api.github.com/users/evg-zhabotinsky/events{/privacy}","received_events_url":"https://api.github.com/users/evg-zhabotinsky/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T21:16:36Z","updated_at":"2015-06-11T21:16:36Z","body":"Do you mean that the laser has limited angular speed and not something else?\r\nI didn't really try to understand all the math involved.\r\n\r\nAs a side note, this \"nearest neighbour algorithm\" is more or less what I have implemented.\r\nI just choose the \"nearest\" neighbour by sorting them by distance. (Yes, it is dumb)\r\nAnd also looks like I got \"distance\" wrong."}}