{"action":"created","issue":{"url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/7","labels_url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/7/comments","events_url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/7/events","html_url":"https://github.com/Permafacture/Py-Visvalingam-Whyatt/issues/7","id":89132391,"number":7,"title":"Use numpy correctly to calculate triangle areas ","user":{"login":"Permafacture","id":6076141,"avatar_url":"https://avatars.githubusercontent.com/u/6076141?v=3","gravatar_id":"","url":"https://api.github.com/users/Permafacture","html_url":"https://github.com/Permafacture","followers_url":"https://api.github.com/users/Permafacture/followers","following_url":"https://api.github.com/users/Permafacture/following{/other_user}","gists_url":"https://api.github.com/users/Permafacture/gists{/gist_id}","starred_url":"https://api.github.com/users/Permafacture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Permafacture/subscriptions","organizations_url":"https://api.github.com/users/Permafacture/orgs","repos_url":"https://api.github.com/users/Permafacture/repos","events_url":"https://api.github.com/users/Permafacture/events{/privacy}","received_events_url":"https://api.github.com/users/Permafacture/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T21:36:45Z","updated_at":"2015-06-18T00:28:52Z","closed_at":null,"body":"        pts = self.pts\r\n        nmax = len(pts)\r\n        real_areas = array([triangle_area(pts[n-1],pts[n],pts[n+1]) if n not in [0,nmax-1] else np.inf for n in range(nmax)])\r\n\r\nAGH! creating an array from a list comprehension looping over an array!? What was I thinking?"},"comment":{"url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/comments/112987738","html_url":"https://github.com/Permafacture/Py-Visvalingam-Whyatt/issues/7#issuecomment-112987738","issue_url":"https://api.github.com/repos/Permafacture/Py-Visvalingam-Whyatt/issues/7","id":112987738,"user":{"login":"Permafacture","id":6076141,"avatar_url":"https://avatars.githubusercontent.com/u/6076141?v=3","gravatar_id":"","url":"https://api.github.com/users/Permafacture","html_url":"https://github.com/Permafacture","followers_url":"https://api.github.com/users/Permafacture/followers","following_url":"https://api.github.com/users/Permafacture/following{/other_user}","gists_url":"https://api.github.com/users/Permafacture/gists{/gist_id}","starred_url":"https://api.github.com/users/Permafacture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Permafacture/subscriptions","organizations_url":"https://api.github.com/users/Permafacture/orgs","repos_url":"https://api.github.com/users/Permafacture/repos","events_url":"https://api.github.com/users/Permafacture/events{/privacy}","received_events_url":"https://api.github.com/users/Permafacture/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T00:28:52Z","updated_at":"2015-06-18T00:28:52Z","body":"Fixed.  Brought 1/3 of triangle area calculations to essentially zero time.  Overall not a huge improvement.  (OldTime - NewTime) / OldTime = 17%"}}