aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-11 21:35:34 +0100
committerXavier Noria <fxn@hashref.com>2015-11-11 21:35:34 +0100
commit18b44ff1e485ebe4cb5801d9eaa5314d970cadd7 (patch)
tree43d348192bfa2687e022d4598027411a9a3cd67f /activerecord/lib/active_record
parent5da4be67a02cf2981d9b544ff8a9bbd073e1779e (diff)
downloadrails-18b44ff1e485ebe4cb5801d9eaa5314d970cadd7.tar.gz
rails-18b44ff1e485ebe4cb5801d9eaa5314d970cadd7.tar.bz2
rails-18b44ff1e485ebe4cb5801d9eaa5314d970cadd7.zip
let filter_out_descendants do less passes
Whatever the inner loop selects, we already know is a descendant and can be filtered out right away from dirs_sorted_by_nparts to skip useless iterations.
Diffstat (limited to 'activerecord/lib/active_record')
0 files changed, 0 insertions, 0 deletions