[ruby-cvs:66659] nobu:r59481 (trunk): dir.c: reduce syscalls

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 3 13:13:12 JST 2017


nobu	2017-08-03 13:13:12 +0900 (Thu, 03 Aug 2017)

  New Revision: 59481

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59481

  Log:
    dir.c: reduce syscalls
    
    * dir.c (glob_helper): utilize d_type even if no recursive
      pattern, to reduce stat/lstat syscalls in subsequent
      glob_helper.

  Modified files:
    trunk/dir.c


More information about the ruby-cvs mailing list