symfony-cmf/Routing — pull request #11 by lolautruche (2012-07-03 21:06:06+00:00)
Title: Performance improvement: Ensures that routers sorting is being done only once in ChainRouter

As discussed earlier with @lsmith77, the `ChainRouter` needs performance improvement since the sorting operation is done every time the `all()` method is called. This can have a serious impact since this method is also called for link generation.

This pull request fixes it, and adds 2 tests to cover it.

Cheers from the [eZ Publish](https://github.com/ezsystems/ezpublish5) dev team :)