As you were iterating the map of routes, I have
converted this to an array and track the requests to each route.
This is used to occasionally sort the array so the most common
routes come first. How often can be controlled by RouteOptimizeRequestCount.
Added a test.
As you were iterating the map of routes, I have converted this to an array and track the requests to each route. This is used to occasionally sort the array so the most common routes come first. How often can be controlled by RouteOptimizeRequestCount. Added a test.