Driving Around Town
Optimizing A Real-World Code Example
Now that we have taken our sports car on the open road and experienced some easier-to-navigate challenges, we will increase the difficulty and deal with some real-world circumstances, similar to what might be experienced in general driving around a city or town. To drive around town to someplace like the grocery store, you must navigate through intersections, stop signs, traffic signals, and sometimes unexpected detours. Rules of the road constrain your speed and direction. Changing circumstances require using the information at hand, and the knowledge of how the car will respond to drive safely and most efficiently to your destination.
In this chapter, we will extend our sports ...
Get Intel Xeon Phi Coprocessor High Performance Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.