{"action":"opened","issue":{"url":"https://api.github.com/repos/bgrins/javascript-astar/issues/51","repository_url":"https://api.github.com/repos/bgrins/javascript-astar","labels_url":"https://api.github.com/repos/bgrins/javascript-astar/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/bgrins/javascript-astar/issues/51/comments","events_url":"https://api.github.com/repos/bgrins/javascript-astar/issues/51/events","html_url":"https://github.com/bgrins/javascript-astar/issues/51","id":151182482,"number":51,"title":"Diagonal heuristic computes square root of 2 every time it is used","user":{"login":"peterjwest","id":246023,"avatar_url":"https://avatars.githubusercontent.com/u/246023?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjwest","html_url":"https://github.com/peterjwest","followers_url":"https://api.github.com/users/peterjwest/followers","following_url":"https://api.github.com/users/peterjwest/following{/other_user}","gists_url":"https://api.github.com/users/peterjwest/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjwest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjwest/subscriptions","organizations_url":"https://api.github.com/users/peterjwest/orgs","repos_url":"https://api.github.com/users/peterjwest/repos","events_url":"https://api.github.com/users/peterjwest/events{/privacy}","received_events_url":"https://api.github.com/users/peterjwest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T16:39:52Z","updated_at":"2016-04-26T16:39:52Z","closed_at":null,"body":"Would help performance to do this as a constant outside the function."}}