X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xnQAAsZvIu36O/M+rhpOSDkLygSN/85vhu10WKtEj9E=; b=C58eHvM88PLsvQo+00VOZ3LjzZL01S96ctSYj/OHVtoso31EqBFwe759ltNmyT1Hhz axPPzezf5E8nLe8wNr9CQVgdoYQ+bRgTSU1mCEgUyfqELDqcOLQOcSi818sdoygGbF4r vb+6GVHx+bTPD7/cDZC8CWw1gBLtoqhuLR7IE= MIME-Version: 1.0 In-Reply-To: <20111207110454.863D581F6265@turkos.aspodata.se> References: <20111130211002 DOT 32B5081F6275 AT turkos DOT aspodata DOT se> <20111203133340 DOT E09A181D541B AT turkos DOT aspodata DOT se> <20111203215549 DOT 238A581D5424 AT turkos DOT aspodata DOT se> <20111205214441 DOT 3691881D543C AT turkos DOT aspodata DOT se> <20111207110454 DOT 863D581F6265 AT turkos DOT aspodata DOT se> Date: Wed, 7 Dec 2011 13:27:45 +0100 Message-ID: Subject: Re: [geda-user] Dynamic loading personal components (with subfolder) into the search component tree of gschem From: Luigi Salvatore Palese To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=20cf306f76c4dee4f704b37fad31 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --20cf306f76c4dee4f704b37fad31 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Dec 7, 2011 at 12:04 PM, Karl Hammar wrote: > ... > > From "info guile": > -- Function: nftw startname proc ['chdir] ['depth] ['hash-size n] > > nftw has a depth argument. > > Yes it is the "depth-first processing" flag, it means visiting all files before processing. > [performance measurements]... > > real 0m1.229s > > user 0m0.980s > > sys 0m0.152s > > > > The better i can do :-D > > If you want I can compare it with my c-version. > > Ok, sure. > ... > > Karl, please look at code in attachment and say me if can be accepted as > > is. I think this can be proposed for inclusion in geda. > > Works like a charm! I "accept" it, but I can't talk for others. > Naturally. Perhaps a feature request could be posted on the launchpad. Regards, Luigi --20cf306f76c4dee4f704b37fad31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Dec 7, 2011 at 12:04 PM, Karl Ha= mmar <karl AT aspodat= a.se> wrote:
...

From "info guile":
=A0-- Function: nftw startname proc ['chdir] ['depth] ['hash-si= ze n]

nftw has a depth argument.

=A0
Yes it is the "depth-first process= ing" flag, it means visiting all files before processing.
=A0
=
[performance measurements]...
> real =A0 =A00m1.229s
> user =A0 =A00m0.980s
> sys =A0 =A00m0.152s
>
> The better i can do :-D

If you want I can compare it with my c-version.

Ok, sure.
=A0
...
> Karl, please look at code in attachment and say me i= f can be accepted as
> is. I think this can be proposed for inclusion in geda.

Works like a charm! I "accept" it, but I can't talk for= others.

Naturally. Perhaps a feature request coul= d be posted on the launchpad.


Regards,
Luigi
--20cf306f76c4dee4f704b37fad31--