On 9/4/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
> The stats on slide 30 are very out of date. Here's the latest
>
> __init__.py     coding          geometry        media           rings
> algebras        combinat        graphs          misc            schemes
> all.py          crypto          groups          modular         server
> all_cmdline.py  databases       gsl             modules         sets
> all_notebook.py dsage           interfaces      monoids
> structure
> calculus        ext             lfunctions      plot            tests
> catalogue       functions       libs            probability
> version.py
> categories      games           matrix          quadratic_forms
>
> sage$ cat */*.py* */*/*.py* */*/*/*.py* | wc -l
>    503163
> sage$ cat */*.py* */*/*.py* */*/*/*.py* | grep "sage:" | wc -l
>     51600
>
> (
> Wow, I hadn't realized it had grown so much!)

That's because you didn't take uniq lines of code.  Also
doing *.py* is no good, since that gets ~ files that
editors leave around.  Here's the comparable stat:

[EMAIL PROTECTED]:~/d/sage/sage$ cat *.py */*.py */*/*.py */*/*/*.py */*.pyx
*/*/*.pyx */*/*/*.pyx */*.pxd */*/*.pxd */*/*/*.pxd |sort |uniq |wc -l
163161

Basically using sort | uniq gets rid of whitespace and """'s that are sort
of pointless in counting size.

Another interesting stat is uniq lines of input doctests in the
source code, which is now over 20K:

[EMAIL PROTECTED]:~/d/sage/sage$ cat *.py */*.py */*/*.py */*/*/*.py */*.pyx
*/*/*.pyx */*/*/*.pyx */*.pxd */*/*.pxd */*/*/*.pxd |sort |uniq | grep
"sage:" |wc -l
20428

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to