diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-22 01:11:40 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-22 01:11:40 +0000 |
commit | 811903b2a1f34a8d33a0fcbc41f1c59c09aab200 (patch) | |
tree | e14b496556157be713ed813bc582230c523dc712 /dln.c | |
parent | 03b3d70daae730c37e835766a480024efa40da7f (diff) | |
download | ruby-811903b2a1f34a8d33a0fcbc41f1c59c09aab200.tar.gz |
dir.c: performance fix with braces
Braces were expended before ruby_glob0(). This caused to call
replace_real_basename() for same plain patterns repeatedly.
Move blace expansion into glob_helper() in ruby_glob0() to reduce
replace_real_basename() call.
This fix changes the order of glob results.
[Feature #13167] [Fix GH-1864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
0 files changed, 0 insertions, 0 deletions