diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-08-01 18:05:04 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-08-01 18:05:04 +0900 |
commit | 0dbb3c15dbe9b7693ea362c94ed8939d20cba083 (patch) | |
tree | 67f3bb2946fc532a66aee06fa6af5c7a6bc65877 /version.h | |
parent | fd476075593b97b143ad39293af5450143cc2ad0 (diff) |
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 'version.h')
-rw-r--r-- | version.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,11 +12,11 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 3 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 117 +#define RUBY_PATCHLEVEL 118 #define RUBY_RELEASE_YEAR 2021 -#define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_MONTH 8 +#define RUBY_RELEASE_DAY 1 #include "ruby/version.h" |