diff options
author | Michael Lovitt <michael@lovitt.net> | 2017-05-25 17:14:33 -0500 |
---|---|---|
committer | Michael Lovitt <michael@lovitt.net> | 2017-05-25 17:14:33 -0500 |
commit | fb6ccce80663dad034d86c472024076a8348a12f (patch) | |
tree | ef93559e4f46edab760f64f0cf387a21ac6c47c5 /railties/test/application/test_runner_test.rb | |
parent | 63dd12b7b83541d8a469a8e6aed1607d77f0d994 (diff) | |
download | rails-fb6ccce80663dad034d86c472024076a8348a12f.tar.gz rails-fb6ccce80663dad034d86c472024076a8348a12f.tar.bz2 rails-fb6ccce80663dad034d86c472024076a8348a12f.zip |
Make #deep_dup use #allocate instead of #new
This change preserves the speedup made in a24912cb1d3 (by avoiding
the wasted shallow dup of @attributes) while ensuring that the
performance of #deep_dup won't be tied to the performance of #initialize
Diffstat (limited to 'railties/test/application/test_runner_test.rb')
0 files changed, 0 insertions, 0 deletions