{"action":"created","issue":{"url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/10","labels_url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/10/comments","events_url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/10/events","html_url":"https://github.com/Turfjs/turf-line-distance/pull/10","id":106048921,"number":10,"title":"Speedups","user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-11T16:43:49Z","updated_at":"2015-09-11T17:31:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Turfjs/turf-line-distance/pulls/10","html_url":"https://github.com/Turfjs/turf-line-distance/pull/10","diff_url":"https://github.com/Turfjs/turf-line-distance/pull/10.diff","patch_url":"https://github.com/Turfjs/turf-line-distance/pull/10.patch"},"body":"fixes #8 and #9"},"comment":{"url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/comments/139607801","html_url":"https://github.com/Turfjs/turf-line-distance/pull/10#issuecomment-139607801","issue_url":"https://api.github.com/repos/Turfjs/turf-line-distance/issues/10","id":139607801,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T17:31:31Z","updated_at":"2015-09-11T17:31:31Z","body":"so the other option is to use something like Turfjs/turf-distance#13 which makes the internal functions available so this library could calculate R once instead of every time and avoid all the checks and object creation."}}