You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ((!g.placeradius || g.placeradius->contains_edge(e)) && !e->c_written[threadnum])
Putting the written checks first will eliminate redundant membership checks and speed up area graph generation. Nota bene: HighwayGraph.cpp & the written arrays are in flux now per #69 & TravelMapping#375 (comment). Line numbers and code will change somewhat.
It's a heavier lift to get this into Python, but... maybe the area graph improvements could make it worthwhile?
Activity
yakra commentedon Jul 12, 2021
PlaceRadius::contains_edgedoing all the trig functions for both verticesmvsetmembership for both verticesC++ (ST):
(OP)
-> set
Python:
(OP)
-> set