aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile.lock
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2019-03-30 12:20:00 +0100
committerXavier Noria <fxn@hashref.com>2019-03-30 13:01:42 +0100
commita3e061def14b50b86d9366d45565a4ad2efb0b08 (patch)
tree595a53246a027879e527acc176e612f2b69713e6 /Gemfile.lock
parent278f0dfeac03e9e9d57eae8f4618ff94d8584abe (diff)
downloadrails-a3e061def14b50b86d9366d45565a4ad2efb0b08.tar.gz
rails-a3e061def14b50b86d9366d45565a4ad2efb0b08.tar.bz2
rails-a3e061def14b50b86d9366d45565a4ad2efb0b08.zip
optimizes eager loading in :zeitwerk mode
During initialization, the eager load paths of engines are unshifted into AS::Dependencies.autoload_paths. After that, the collection is frozen. (See the initializers in railties/lib/rails/engine.rb.) Hence, there is no eager load path that is not an autoload path too, and so the array difference in the deleted code is always an empty array. Just do nothing.
Diffstat (limited to 'Gemfile.lock')
0 files changed, 0 insertions, 0 deletions