aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.h
diff options
context:
space:
mode:
authorshirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-22 01:11:40 +0000
committershirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-22 01:11:40 +0000
commit2a119042145973fd66504c70ba0cd86d2571d014 (patch)
treee14b496556157be713ed813bc582230c523dc712 /thread_pthread.h
parentc61adf51a3724ed096a3fea81c6f1e28ee99c300 (diff)
downloadruby-2a119042145973fd66504c70ba0cd86d2571d014.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 'thread_pthread.h')
0 files changed, 0 insertions, 0 deletions