aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorNAKAMURA Usaku <usa@ruby-lang.org>2021-11-24 19:26:29 +0900
committerNAKAMURA Usaku <usa@ruby-lang.org>2021-11-24 19:26:29 +0900
commit7d4d38f8838579592e70fb04a6a2f0162fe989c2 (patch)
treeaf2cf082740d90b437bc44223b6e2dab512a3924 /aclocal.m4
parent6601fb5672dc4c1f4bf5ee0f9b3f97a029df06cd (diff)
downloadruby-7d4d38f8838579592e70fb04a6a2f0162fe989c2.tar.gz
merge revision(s) b360588cd3cbac5fb4f004aa53a8fdc715906719: [Backport #15856]
Sort feature index arrays by the priority of file types [Bug #15856] When looking for libraries to load with a feature name without extension, `.rb` files are given priority. However, since the feature index arrays were not in that order of priority, but in the order in which they were loaded, a lower priority extension library might be returned. In that case, the `.rb` file had to be searched for again from the `$LOAD_PATH`, resulting in poor performance. --- load.c | 52 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 7 deletions(-)
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions