mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1bd578ffe6
When no dependencies are present to be digested there is no reason to build an array just to turn around and turn it back into a string. The dependencies array is not mutated in this method so we can use the same empty array across all invocations. Total allocated: 791402 bytes (7294 objects) Total allocated: 777442 bytes (7132 objects) (791402 - 777442) / 791402.0 # => 1.76 % speed improvement |
||
---|---|---|
.. | ||
controller_runtime_test.rb | ||
debug_helper_test.rb | ||
form_helper_activerecord_test.rb | ||
multifetch_cache_test.rb | ||
polymorphic_routes_test.rb | ||
relation_cache_test.rb | ||
render_partial_with_record_identification_test.rb |