Revision ae6225b...

Go back to digest for 24th April 2011

Optimization in Educational

Dennis Nienhüser committed changes in [marble] /lib/routing:

Deviate a bit from the QtMobility API for better performance.

Allow a vector-like access to route segments from the route as an
addition to the linked-list. Use const references instead of copies.
Saves about 8% runtime (callgrind, large routes).

File Changes

Modified 6 files
  • /lib/routing
  •   src/Route.cpp
  •   src/Route.h
  •   src/RouteSegment.cpp
  •   src/RouteSegment.h
  •   src/RoutingLayer.cpp
  •   src/RoutingModel.cpp
6 files changed in total