aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/version.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-09 14:38:14 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-09 14:38:14 -0700
commite73fbdf804633f8e151a33e681f370dfa0fbb3a0 (patch)
treefd599a06ab11047b8aa385bb8622dd75661007e0 /activerecord/lib/active_record/version.rb
parent9b15db51b78028bfecdb85595624de4b838adbd1 (diff)
downloadrails-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/version.rb')
0 files changed, 0 insertions, 0 deletions