X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox To: geda-user AT delorie DOT com Subject: Re: [geda-user] Dynamic loading personal components (with subfolder) into the search component tree of gschem In-reply-to: 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> Comments: In-reply-to Luigi Salvatore Palese message dated "Wed, 07 Dec 2011 13:27:45 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <20111207124815.D4FDB81F626F@turkos.aspodata.se> Date: Wed, 7 Dec 2011 13:48:14 +0100 (CET) From: karl AT aspodata DOT se (Karl Hammar) X-Virus-Scanned: ClamAV using ClamSMTP 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 Luigi: > On Wed, Dec 7, 2011 at 12:04 PM, Karl Hammar wrote: > > nftw has a depth argument. > Yes it is the "depth-first processing" flag, it means visiting all files > before processing. Aha, I wasn't even close. > > [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. I'll do it in the weekend. > > ... > > > 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. Yes, please do, I have a slow dialup connection here. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57