This is the mail archive of the cygwin 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: Programming Anti-patterns in Shell and Perl Scripts


On 28/06/2011 3:21 PM, Ryan Johnson wrote:
> I don't use bash-completion myself, but my understanding is
> that it can be very slow, if for no other reason than fork() is
> slow in cygwin. If your de-anti-pattern transformation causes
> fewer calls to fork() -- and the above expr example suggests
> it does -- it could be very worthwhile.

That's the basic underlying principle to start with, Ryan. That in
general: Accessing memory << Calling a function << Forking a process.


> Implementation-wise, you probably want to start here:
> http://www.cygwin.com/contrib.html

You mean directly making those changes? I've never done that before,
so I was hoping to catch the attention of a few of the package
owners/contributors and give/take their help.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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