diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-09 14:38:14 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-09 14:38:14 -0700 |
commit | e73fbdf804633f8e151a33e681f370dfa0fbb3a0 (patch) | |
tree | fd599a06ab11047b8aa385bb8622dd75661007e0 /activerecord/lib/active_record/railties/databases.rake | |
parent | 9b15db51b78028bfecdb85595624de4b838adbd1 (diff) | |
download | rails-e73fbdf804633f8e151a33e681f370dfa0fbb3a0.tar.gz rails-e73fbdf804633f8e151a33e681f370dfa0fbb3a0.tar.bz2 rails-e73fbdf804633f8e151a33e681f370dfa0fbb3a0.zip |
make node search more efficient
Rather than search every node in the tree, comparing that node and all
of its parents every time, start at the root from both sides and work
our way down the tree
Diffstat (limited to 'activerecord/lib/active_record/railties/databases.rake')
0 files changed, 0 insertions, 0 deletions