ripple/rippled — pull request #460 by JoelKatz (2014-07-21 18:08:08+00:00)
Title: Pathfinding Performance Improvements

Stop finding long, complex paths if enough simple paths are found.
Handle the last link in the path more efficiently.
Various cleanups, replacing BOOST_FOREACH with range-based for.