comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 'analyzing code' and # of pro files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 'analyzing code' and # of pro files [message #57183] Thu, 06 December 2007 09:11 Go to next message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
R.G. Stockwell wrote:
> Just curious, how many *.pro files does everyone have?
>

The total number of .pro files I have in my home directory, from:

find ~ -name '*.pro' | sed 's/.*\///' | wc -l

is 39977.

The total number with unique names coming from:

find ~ -name '*.pro' | sed 's/.*\///' | sort | uniq | wc -l

is 5479.

Having seen those numbers for the first time, I'm a little worried about
the large difference between them number of files and the number of
unique files.

If I were to take a conservative guess at the directories I'd include as
projects if I ever used the DE then running the above command on the
relevant directories gives me 1977 files (1968 unique which is a much
nicer discrepancy to have!).

Thanks,

Allan
Re: 'analyzing code' and # of pro files [message #57190 is a reply to message #57183] Thu, 06 December 2007 08:23 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Dec 6, 9:55 am, "R.G. Stockwell" <noem...@please.com> wrote:
> Just curious, how many *.pro files does everyone have?
>
> This may be one thing that IDL hadn't properly gauged when
> they implemented the 'analyzing code' routines.
> I did a quick search, and find 2959 files in my library. This
> includes several 'other author' libraries.
>
> When I start IDL7, it takes 3.5 minutes to analyze code,
> and frankly I can't tell if those libraries are in my project.
> The only thing my project shows is 'untitled'.

5492 *.pro file - 5.5 minutes - WinXP 2GB memory (very little load)
for comparison: emacs/idl-pvwave found library(390) user(15511)
system(2469) [not sure exactly what those numbers mean] in 1.5
minutes!!

I think I know which one I like the best...

Signed,
Big fan of JD!
Re: 'analyzing code' and # of pro files [message #57193 is a reply to message #57190] Thu, 06 December 2007 08:07 Go to previous messageGo to next message
henrygroe is currently offline  henrygroe
Messages: 30
Registered: August 2003
Member
On Dec 6, 8:55 am, "R.G. Stockwell" <noem...@please.com> wrote:
> Just curious, how many *.pro files does everyone have?
>
> This may be one thing that IDL hadn't properly gauged when
> they implemented the 'analyzing code' routines.
> I did a quick search, and find 2959 files in my library. This
> includes several 'other author' libraries.
>
> When I start IDL7, it takes 3.5 minutes to analyze code,
> and frankly I can't tell if those libraries are in my project.
> The only thing my project shows is 'untitled'.

3442

I'm beginning to think I won't be upgrading to 7.0 next week as I'd
originally planned....
Re: 'analyzing code' and # of pro files [message #57380 is a reply to message #57183] Thu, 06 December 2007 09:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Allan Whiteford writes:

> The total number of .pro files I have in my home directory, from:
>
> find ~ -name '*.pro' | sed 's/.*\///' | wc -l
>
> is 39977.
>
> The total number with unique names coming from:
>
> find ~ -name '*.pro' | sed 's/.*\///' | sort | uniq | wc -l
>
> is 5479.

Don't worry, this is normal on UNIX systems. In my experience
debugging other people's code, it is likely you have 15 versions
of the Coyote directory in your path. And God knows how many
versions of the Astro library, which is older yet. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: eclipse ridiculously slow over ssh
Next Topic: IDL 7 Conspiracy Theory

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:45:50 PDT 2025

Total time taken to generate the page: 0.00701 seconds