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
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
..
abstract Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
assertions Improve assert_response helper 2016-09-14 11:30:09 -04:00
controller assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
dispatch "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
fixtures Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
journey Optimize Journey::Route#score 2016-12-28 17:19:15 -08:00
lib/controller Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
routing applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
tmp
abstract_unit.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00