{"action":"created","issue":{"url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/9","labels_url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/9/comments","events_url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/9/events","html_url":"https://github.com/Rhythmia/DanmakU/issues/9","id":67895229,"number":9,"title":"Multithreaded Danmaku Processing","user":{"login":"james7132","id":3137680,"avatar_url":"https://avatars.githubusercontent.com/u/3137680?v=3","gravatar_id":"","url":"https://api.github.com/users/james7132","html_url":"https://github.com/james7132","followers_url":"https://api.github.com/users/james7132/followers","following_url":"https://api.github.com/users/james7132/following{/other_user}","gists_url":"https://api.github.com/users/james7132/gists{/gist_id}","starred_url":"https://api.github.com/users/james7132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james7132/subscriptions","organizations_url":"https://api.github.com/users/james7132/orgs","repos_url":"https://api.github.com/users/james7132/repos","events_url":"https://api.github.com/users/james7132/events{/privacy}","received_events_url":"https://api.github.com/users/james7132/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rhythmia/DanmakU/labels/core","name":"core","color":"fbca04"},{"url":"https://api.github.com/repos/Rhythmia/DanmakU/labels/optimizations","name":"optimizations","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"james7132","id":3137680,"avatar_url":"https://avatars.githubusercontent.com/u/3137680?v=3","gravatar_id":"","url":"https://api.github.com/users/james7132","html_url":"https://github.com/james7132","followers_url":"https://api.github.com/users/james7132/followers","following_url":"https://api.github.com/users/james7132/following{/other_user}","gists_url":"https://api.github.com/users/james7132/gists{/gist_id}","starred_url":"https://api.github.com/users/james7132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james7132/subscriptions","organizations_url":"https://api.github.com/users/james7132/orgs","repos_url":"https://api.github.com/users/james7132/repos","events_url":"https://api.github.com/users/james7132/events{/privacy}","received_events_url":"https://api.github.com/users/james7132/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-12T09:49:26Z","updated_at":"2015-04-20T15:37:14Z","closed_at":null,"body":"Currently all of the danmaku object updates are entirely single threaded. A great performance boost should be attainable by multithreading each update.\r\n\r\nSeveral parts are required:\r\n* Minimize the number of Unity API calls needed to be made in each update\r\n* Create an effective alternative threadpool, since Unity Mono doesn't have one that actually works effectively."},"comment":{"url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/comments/94486281","html_url":"https://github.com/Rhythmia/DanmakU/issues/9#issuecomment-94486281","issue_url":"https://api.github.com/repos/Rhythmia/DanmakU/issues/9","id":94486281,"user":{"login":"james7132","id":3137680,"avatar_url":"https://avatars.githubusercontent.com/u/3137680?v=3","gravatar_id":"","url":"https://api.github.com/users/james7132","html_url":"https://github.com/james7132","followers_url":"https://api.github.com/users/james7132/followers","following_url":"https://api.github.com/users/james7132/following{/other_user}","gists_url":"https://api.github.com/users/james7132/gists{/gist_id}","starred_url":"https://api.github.com/users/james7132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james7132/subscriptions","organizations_url":"https://api.github.com/users/james7132/orgs","repos_url":"https://api.github.com/users/james7132/repos","events_url":"https://api.github.com/users/james7132/events{/privacy}","received_events_url":"https://api.github.com/users/james7132/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T15:37:14Z","updated_at":"2015-04-20T15:37:14Z","body":"It seems that switching to Particle Systems has already multithreaded the rendering of the bullets, and almost everything outside of collision checks are thread-safe now. A bit of reordering of events and it shouldn't be too hard to use a thread pool to calculate danmaku movement."}}