This is the mail archive of the
mailing list for the Cygwin project.
Re: Programming Anti-patterns in Shell and Perl Scripts
- From: Sravan Bhamidipati <bsravanin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Jun 2011 08:06:41 +0530
- Subject: Re: Programming Anti-patterns in Shell and Perl Scripts
- References: <BANLkTinZih7DKLYxXxLBVpdmFn62Tu4kdA@mail.gmail.com>
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:
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple