{"action":"closed","issue":{"url":"https://api.github.com/repos/2Tie/TGMsim/issues/9","repository_url":"https://api.github.com/repos/2Tie/TGMsim","labels_url":"https://api.github.com/repos/2Tie/TGMsim/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/2Tie/TGMsim/issues/9/comments","events_url":"https://api.github.com/repos/2Tie/TGMsim/issues/9/events","html_url":"https://github.com/2Tie/TGMsim/issues/9","id":135879692,"number":9,"title":"Piece Generator Konoha Mode Slow Down Potential","user":{"login":"odiefrom","id":2388769,"avatar_url":"https://avatars.githubusercontent.com/u/2388769?v=3","gravatar_id":"","url":"https://api.github.com/users/odiefrom","html_url":"https://github.com/odiefrom","followers_url":"https://api.github.com/users/odiefrom/followers","following_url":"https://api.github.com/users/odiefrom/following{/other_user}","gists_url":"https://api.github.com/users/odiefrom/gists{/gist_id}","starred_url":"https://api.github.com/users/odiefrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odiefrom/subscriptions","organizations_url":"https://api.github.com/users/odiefrom/orgs","repos_url":"https://api.github.com/users/odiefrom/repos","events_url":"https://api.github.com/users/odiefrom/events{/privacy}","received_events_url":"https://api.github.com/users/odiefrom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T21:59:58Z","updated_at":"2016-03-05T23:49:07Z","closed_at":"2016-03-05T23:49:07Z","body":"The piece generator when in konoha mode can select an unusable piece randomly from the set of all tets, not just those for konoha mode.  While unlikely, this can cause slow down/stutters as the game has to keep hunting for a \"correct\" piece, potentially hitting unusable pieces enough time to make the frame's processing time longer than a single frame.\r\n\r\nSolution: have the piece generator select from a modified selection of pieces that only include the usable pieces."}}