rails/actionpack/lib/action_dispatch/journey
Viktar Basharymau 8ee785a17f Replace x.sort_by!.select! with x.select!.sort_by!
The latter has the same speed as the former in the worst case
and faster in general, because it is always better to sort less items.

Unfortunately, `routes.select!{...}.sort_by!{...}` is not possible here
because `select!` returns `nil`, so select! and sort! must be done
in two steps.
2014-06-20 17:16:11 +03:00
..
gtg push move_string in to move 2014-04-01 15:58:42 -07:00
nfa Replace map.flatten with flat_map in actionpack 2014-03-03 19:23:12 -08:00
nodes use a parser to extract the group parts from the path 2014-05-29 14:57:48 -07:00
path no more is_a checks on instantiation 2014-05-29 15:45:42 -07:00
router Strexp#names is only used in a test, so rm 2014-05-29 15:31:45 -07:00
visualizer Fix router visualizer CSS and JS resources 2014-05-23 20:38:34 -03:00
backwards.rb :nodoc: Journey because is not part of the public API [ci skip] 2012-12-19 19:24:25 -05:00
formatter.rb Remove AD::Journey::Formatter#verify_required_parts! 2014-05-23 18:00:50 +03:00
parser_extras.rb update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
parser.rb make the AST go from left to right, rather than right to left 2014-05-19 17:46:27 -07:00
parser.y make the AST go from left to right, rather than right to left 2014-05-19 17:46:27 -07:00
route.rb push is_a?(Dispatcher) check in to one place 2014-05-24 19:03:12 -07:00
router.rb Replace x.sort_by!.select! with x.select!.sort_by! 2014-06-20 17:16:11 +03:00
routes.rb Clear named routes when routes.rb is reloaded 2013-07-21 17:11:52 +01:00
scanner.rb update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
visitors.rb reuse path formatter from the non-optimized path. 2014-05-21 14:27:30 -07:00