summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/initialize_spec.rb
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2024-03-17 02:16:12 +0900
committergit <svn-admin@ruby-lang.org>2024-03-18 16:12:49 +0000
commit7a1a572428ed7a5cac416735f1b50273d51bdf75 (patch)
tree677e3413485cfd05ee6c0785c1c1667b34ebc3fd /spec/ruby/core/array/initialize_spec.rb
parent802e857ae6553bdc441d11892af0259a400f504e (diff)
[ruby/prism] Use `require_relative` in the Prism codebase
If there are many searches in the `$LOAD_PATH` in the user environment, require will perform unnecessary searches that are not needed. In contrast, `require_relative` is efficient because it uses a relative path. https://github.com/ruby/prism/commit/438ccc67bd
Diffstat (limited to 'spec/ruby/core/array/initialize_spec.rb')
0 files changed, 0 insertions, 0 deletions