{"action":"created","issue":{"url":"https://api.github.com/repos/life360/confetti/issues/9","labels_url":"https://api.github.com/repos/life360/confetti/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/life360/confetti/issues/9/comments","events_url":"https://api.github.com/repos/life360/confetti/issues/9/events","html_url":"https://github.com/life360/confetti/issues/9","id":104924197,"number":9,"title":"Move creation of confetti off main thread","user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-04T16:32:17Z","updated_at":"2015-09-21T17:42:58Z","closed_at":"2015-09-14T18:10:50Z","body":"There's a noticeable lag even on iPad Air (and the iPad 2, most definitely!) when creating just over 40 confetti pieces. That's not very impressive :/ :(  Animating that number seems to be no problem.\r\n\r\nHow about moving some of the initialization code off the main thread?"},"comment":{"url":"https://api.github.com/repos/life360/confetti/issues/comments/142055797","html_url":"https://github.com/life360/confetti/issues/9#issuecomment-142055797","issue_url":"https://api.github.com/repos/life360/confetti/issues/9","id":142055797,"user":{"login":"foffux","id":8709479,"avatar_url":"https://avatars.githubusercontent.com/u/8709479?v=3","gravatar_id":"","url":"https://api.github.com/users/foffux","html_url":"https://github.com/foffux","followers_url":"https://api.github.com/users/foffux/followers","following_url":"https://api.github.com/users/foffux/following{/other_user}","gists_url":"https://api.github.com/users/foffux/gists{/gist_id}","starred_url":"https://api.github.com/users/foffux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foffux/subscriptions","organizations_url":"https://api.github.com/users/foffux/orgs","repos_url":"https://api.github.com/users/foffux/repos","events_url":"https://api.github.com/users/foffux/events{/privacy}","received_events_url":"https://api.github.com/users/foffux/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T17:42:58Z","updated_at":"2015-09-21T17:42:58Z","body":"Thanks for clarification \nI will try with more than 20 confetti like I am doing right now then. I am doing also a for loop of 4: hope it is not too heavy...\n\nInviato da iPhone\n\n> Il giorno 21/set/2015, alle ore 18:50, Mohammed Islam <notifications@github.com> ha scritto:\n> \n> The last 5 commits on the main branch (and release version 1.1.3) resolves this issue. The issue was that if you used a confetti count of 40, it would take a really long time for the confetti to be displayed.\n> \n> There is still some lag but it's not as terrible. Any further optimizations, you guys will have to help me out with. Thanks!\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}