20,741
edits
| Line 77: | Line 77: | ||
== Possible Optimizations == | == Possible Optimizations == | ||
* Use pointers / const references | |||
* Implement real copy constructors | |||
* Use a faster map implementation, i.e. unordered_map or something from boost (speed-up 2x-3x) | * Use a faster map implementation, i.e. unordered_map or something from boost (speed-up 2x-3x) | ||
* Use a spatial data structure (i.e. quadtree) to partition the space and only look up relevant aircraft | * Use a spatial data structure (i.e. quadtree) to partition the space and only look up relevant aircraft | ||