Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Jafar Al-Gharaibeh
08 directories in 66138 ms using 21 threads > > c:\proj>tdir c:\ 8 > 39708 directories in 69307 ms using 8 threads > > c:\proj>tdir c:\ 4 > 39708 directories in 70539 ms using 4 threads > > c:\proj>tdir c:\ 16 > 39708 directories in 76392 ms using 32 threads > > > > On Sun, Jan

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Sergey Logichev
2010. As I recall this was before the multi-threading versions were widely available. I think multi-threading is underrepresented in Rosetta/Unicon. If you come up with a multi-threading version, we should add it to the post as an alternative version.  If you don't feel comfortable doing this, p

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Jafar Al-Gharaibeh
4 threads >> >> c:\proj>tdir c:\ 4 >> 39708 directories in 87650 ms using 4 threads >> >> c:\proj>tdir c:\ 1 >> 39708 directories in 92525 ms using 1 threads >> >> c:\proj>tdir c:\ 4 >> 39708 directories in 95655 ms using 4 threads >

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Wade
tories in 76392 ms using 32 threads On Sun, Jan 11, 2015 at 1:25 PM, David Gamey wrote: Sergey, I am responsible for much of the Rosetta code contributions (thanks also to Steve, Andrew, Matt, >>>>>>>>Peter, and about 4 others) and this one in particular dating fro

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Jafar Al-Gharaibeh
5 PM, David Gamey > wrote: > > Sergey, > > I am responsible for much of the Rosetta code contributions (thanks also > to Steve, Andrew, Matt, Peter, and about 4 others) and this one in > particular dating from 2010. As I recall this was before the > multi-threading versions

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Wade
ons (thanks also to Steve, Andrew, Matt, Peter, >>>>>>and about 4 others) and this one in particular dating from 2010. As I recall this was before the multi->>>>>>threading versions were widely available. I think multi-threading is underrepresented in Rosetta/

Re: [Unicon-group] Walk of file directory

2015-01-23 Thread Sergey Logichev
ome up with a multi-threading version, we should add it to the post as an alternative version.  If you don't feel comfortable doing this, post the code and I can add it. David  From: Sergey Logichev <slogic...@yandex.ru> To: Jafar Al-Gharaibeh <to.ja...@gmail.com> Cc: Unicon group &

Re: [Unicon-group] Walk of file directory

2015-01-22 Thread Jafar Al-Gharaibeh
the > multi-threading versions were widely available. I think multi-threading is > underrepresented in Rosetta/Unicon. > > If you come up with a multi-threading version, we should add it to the > post as an alternative version. If you don't feel comfortable doing this, > pos

Re: [Unicon-group] Walk of file directory

2015-01-22 Thread Sergey Logichev
f you don't feel comfortable doing this, post the code and I can add it. David  From: Sergey Logichev <slogic...@yandex.ru> To: Jafar Al-Gharaibeh <to.ja...@gmail.com> Cc: Unicon group <unicon-group@lists.sourceforge.net> Sent: Sunday, January 11, 2015 1:16 AM Subject: Re

Re: [Unicon-group] Walk of file directory

2015-01-21 Thread David Gamey
Very cool.  I likely wont get to this for a few days.  From: Jafar Al-Gharaibeh To: David Gamey Cc: Unicon group Sent: Wednesday, January 21, 2015 4:58 PM Subject: Re: [Unicon-group] Walk of file directory Here is a slightly tweaked/reformatted version. It now by default auto

Re: [Unicon-group] Walk of file directory

2015-01-21 Thread Jafar Al-Gharaibeh
ing versions were widely available. I think multi-threading is >> underrepresented in Rosetta/Unicon. >> >> If you come up with a multi-threading version, we should add it to the >> post as an alternative version. If you don't feel comfortable doing this, >> post the code and I can add it. &g

Re: [Unicon-group] Walk of file directory

2015-01-21 Thread Jafar Al-Gharaibeh
and I can add it. > > David > > -- > *From:* Sergey Logichev > *To:* Jafar Al-Gharaibeh > *Cc:* Unicon group > *Sent:* Sunday, January 11, 2015 1:16 AM > *Subject:* Re: [Unicon-group] Walk of file directory > > Jafar, > > T

Re: [Unicon-group] Walk of file directory

2015-01-12 Thread Sergey Logichev
e attributes, determine if something is a directory, etc.  I do know the Unicon book has an example program that walks through directories recursively. Cheers,ClintFrom: Sergey Logichev <slogic...@yandex.ru> Sent: Monday, January 12, 2015 3:05 AM To: David Gamey; Jafar Al-Gharaibeh Cc: Unicon g

Re: [Unicon-group] Walk of file directory

2015-01-12 Thread Jafar Al-Gharaibeh
le >> program that walks through directories recursively. >> >> >> Cheers, >> >> Clint >> -- >> *From:* Sergey Logichev >> *Sent:* Monday, January 12, 2015 3:05 AM >> *To:* David Gamey; Jafar Al-Gharaibeh >>

Re: [Unicon-group] Walk of file directory

2015-01-12 Thread Jafar Al-Gharaibeh
ok has an example > program that walks through directories recursively. > > > Cheers, > > Clint > -- > *From:* Sergey Logichev > *Sent:* Monday, January 12, 2015 3:05 AM > *To:* David Gamey; Jafar Al-Gharaibeh > *Cc:* Unicon group > > *S

Re: [Unicon-group] Walk of file directory

2015-01-12 Thread Jeffery, Clint (jeffe...@uidaho.edu)
bject: Re: [Unicon-group] Walk of file directory David, Ok, I will try to implement it myself at first. If I will be in trouble I ask you help, sure. In any case I will inform Unicon group about it. It would be great to implement file search directly in Unicon. As Jafar mentioned, we already may

Re: [Unicon-group] Walk of file directory

2015-01-12 Thread Sergey Logichev
<to.ja...@gmail.com> Cc: Unicon group <unicon-group@lists.sourceforge.net> Sent: Sunday, January 11, 2015 1:16 AM Subject: Re: [Unicon-group] Walk of file directory Jafar, Thank you for a whole bundle of advices and suggestions! Threads are worth to try. The thought of search by file attributes is

Re: [Unicon-group] Walk of file directory

2015-01-11 Thread David Gamey
Sent: Sunday, January 11, 2015 1:16 AM Subject: Re: [Unicon-group] Walk of file directory Jafar, Thank you for a whole bundle of advices and suggestions! Threads are worth to try. The thought of search by file attributes is very useful too. Your suggestion about slow I/O partly is right. For U

Re: [Unicon-group] Walk of file directory

2015-01-10 Thread Sergey Logichev
Jafar, Thank you for a whole bundle of advices and suggestions! Threads are worth to try. The thought of search by file attributes is very useful too. Your suggestion about slow I/O partly is right. For UNIX I tried the program on Raspberry Pi with 6 Class microSD as HDD (it's slow, agree). But for

Re: [Unicon-group] Walk of file directory

2015-01-10 Thread Jafar Al-Gharaibeh
Sergey, There are so many things that came to mind when I saw your program. 1- At the end of your email, sourceforge ad says "Go Parallel", Which is not a bad idea for this highly parallel application. There is a similar program "wordcount" listed in my dissertation (available on unicon.org)