{"action":"created","issue":{"url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/122","repository_url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot","labels_url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/122/comments","events_url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/122/events","html_url":"https://github.com/ErmiyaEskandary/Slither.io-bot/issues/122","id":153966890,"number":122,"title":"New food clustering algorithm is laggy","user":{"login":"ksofiyuk","id":5459767,"avatar_url":"https://avatars.githubusercontent.com/u/5459767?v=3","gravatar_id":"","url":"https://api.github.com/users/ksofiyuk","html_url":"https://github.com/ksofiyuk","followers_url":"https://api.github.com/users/ksofiyuk/followers","following_url":"https://api.github.com/users/ksofiyuk/following{/other_user}","gists_url":"https://api.github.com/users/ksofiyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ksofiyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksofiyuk/subscriptions","organizations_url":"https://api.github.com/users/ksofiyuk/orgs","repos_url":"https://api.github.com/users/ksofiyuk/repos","events_url":"https://api.github.com/users/ksofiyuk/events{/privacy}","received_events_url":"https://api.github.com/users/ksofiyuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/labels/Discussion","name":"Discussion","color":"5319E7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-05-10T09:52:52Z","updated_at":"2016-05-13T06:43:31Z","closed_at":null,"body":"I do not understand why it was necessary to change the previous algorithm, if he has never been the cause of lags. Collision detection algorithm is main reason of lags.\r\n\r\nNow this algorithm introduce new lag, when foods.length > 300 (e.g. dead big snake). Also food selection code become more complicated and unclear. \r\n\r\nThe reason of total rewriting is not clear for me. "},"comment":{"url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/comments/218964236","html_url":"https://github.com/ErmiyaEskandary/Slither.io-bot/issues/122#issuecomment-218964236","issue_url":"https://api.github.com/repos/ErmiyaEskandary/Slither.io-bot/issues/122","id":218964236,"user":{"login":"ChadSki","id":1082566,"avatar_url":"https://avatars.githubusercontent.com/u/1082566?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadSki","html_url":"https://github.com/ChadSki","followers_url":"https://api.github.com/users/ChadSki/followers","following_url":"https://api.github.com/users/ChadSki/following{/other_user}","gists_url":"https://api.github.com/users/ChadSki/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadSki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadSki/subscriptions","organizations_url":"https://api.github.com/users/ChadSki/orgs","repos_url":"https://api.github.com/users/ChadSki/repos","events_url":"https://api.github.com/users/ChadSki/events{/privacy}","received_events_url":"https://api.github.com/users/ChadSki/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T06:43:31Z","updated_at":"2016-05-13T06:43:31Z","body":"Fixed by [pull #143](https://github.com/ErmiyaEskandary/Slither.io-bot/pull/143)?\r\n\r\nOr does that simply use one of these two options?"}}