{"action":"created","issue":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10084","repository_url":"https://api.github.com/repos/d3athrow/vgstation13","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10084/labels{/name}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10084/comments","events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10084/events","html_url":"https://github.com/d3athrow/vgstation13/pull/10084","id":155130368,"number":10084,"title":"Ports TG optimized istype in list","user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/d3athrow/vgstation13/labels/Performance","name":"Performance","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-05-16T21:49:49Z","updated_at":"2016-05-17T19:22:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/10084","html_url":"https://github.com/d3athrow/vgstation13/pull/10084","diff_url":"https://github.com/d3athrow/vgstation13/pull/10084.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/10084.patch"},"body":"It's faster because it doesn't use istype and uses a dict for constant var access speed"},"comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments/219825650","html_url":"https://github.com/d3athrow/vgstation13/pull/10084#issuecomment-219825650","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10084","id":219825650,"user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T19:22:44Z","updated_at":"2016-05-17T19:22:44Z","body":"That's entirely readable though.\r\nThe only part resembling voodoo is:\r\n```\r\nif (!isnum(L[L[1]])\r\n```\r\nWhich just:\r\n* Gets the key at index 1 in list L\r\n* Uses that key to get the association\r\n* Sees if it's a number, if it is it's a good enough guess that it's been converted, if not it needs converting.\r\n"}}