www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/29/11:53:23

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3CCD6C06.DC27ED50@yahoo.com>
Date: Mon, 29 Apr 2002 11:51:34 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <Cygwin-Apps AT cygwin DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: Earnie Boyd <Cygwin-Apps AT cygwin DOT com>
Subject: Re: ITP: netpbm
References: <FC169E059D1A0442A04C40F86D9BA7600C5F31 AT itdomain003 DOT itdomai <4 DOT 3 DOT 1 DOT 2 DOT 20020427180026 DOT 02cbc078 AT pop DOT ma DOT ultranet DOT com>
<20020429115530 DOT B11549 AT cygbert DOT vinschen DOT de> <4 DOT 3 DOT 1 DOT 2 DOT 20020429105149 DOT 02ccc968 AT pop DOT ma DOT ultranet DOT com>

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 07:44 AM 4/29/2002, Earnie Boyd wrote:
-8<-
> The point is, the extra path walks are
> >expensive.
> 
> Quite true.  But I would say that Corinna's suggestion, from a strict
> technical perspective, makes netpbm in a different bin directory usable
> 'out-of-the-box' under Cygwin.  If netpbm were going to be put in it's
> own bin directory, I would say that adding files like the ones Corinna
> suggests is an absolute requirement.
> 

Yes, but you missed the point.

Go ahead, add something to the end of your PATH and execute it with
strace.  Then see how many times the pathing routines are called to
search for a symlink.  It's once for each directory listed in PATH and I
mean each directory listed in the path name of the path list (E.G.: a
PATH of /usr/local/bin:/bin:/usr/bin has six directories in it).  And if
someone has a symlink in PATH, it's called again to see if the file
pointed to by the symlink is a symlink.  Note, the coding is necessary
for symlink simulation, but it's slows down time it takes to find the
binary file to exec.  Keep the binaries to the front of the PATH and put
them in /bin.

Earnie.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019