1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/journey
Ben Hughes f1525dac11 Optimize Journey::Route#score
Scoring routes based on constraints repeated many type conversions that
could be performed in the outer loop.  Determinations of score and
fitness also used Array operations that required allocations.  Against
my benchmark with a large routeset, this reduced object allocations by
over 30x and wall time by over 3x.
2016-12-28 17:19:15 -08:00
..
gtg Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
nfa Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
nodes applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
path Add three new rubocop rules 2016-08-16 04:30:11 -03:00
route/definition applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
router applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
route_test.rb Optimize Journey::Route#score 2016-12-28 17:19:15 -08:00
router_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
routes_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00