Programming Anti-patterns in Shell and Perl Scripts

Sravan Bhamidipati bsravanin@gmail.com
Wed Jun 29 02:37:00 GMT 2011


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



More information about the Cygwin mailing list