This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about ash and getopts

At 02:20 PM 12/29/2003, Peter Seebach you wrote:
>In message <>, Larry Hall writes:
>>If you're curious, I suggest you run some timings on ash with and without 
>>getopts enabled using a few configure scripts from some of Cygwin's 
>>packages, large and small.  It was the slowness of configure scripts 
>>that prompted the streamlining of Cygwin's ash.  If you can provide 
>>data that suggests that there isn't a performance penalty for these
>>scripts with getopts on, then a patch to turn it back on may be considered.
>Did anyone perform an actual test showing that the getopts code was making
>a difference, or was it just a general desire to trim everything in sight?

I don't know.  It was a long time ago that this change was made.  I don't
recall the details (even if they were posted at the time).  In any case, 
since ash has been /bin/sh for many, many years now and things have clearly
changed all over Cygwin in this time, the tests run then may have different
results than those run now.  That's why I suggested you run your own tests
and report back the results if you're interested in more details.  Beyond 
that, I can only point to the (very old) email archives and say "whatever
details exist are in there somewhere".  But if it wasn't clear to you what
the reason was for making the change (although it sounds like you were), 
it should be clear now. ;-)

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]