[Pkg-exppsy-pynifti] [Nipy-devel] Example data - a proposal

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Jul 12 09:27:07 UTC 2009


On Sun, Jul 12, 2009 at 09:55:12AM +0200, Gael Varoquaux wrote:
> I would like to add a few data points ( :o ) and ask a few more
> questions.

Extra interesting data point:

  * A bzr checkout takes 24Mb, 17Mb of this being in the bzr tree:

~/tmp/nipy $ for file in *(/)
du -h --summarize $file/
17M .bzr/
972K	doc/
1012K	examples/
684K	libfffpy/
5.6M	nipy/
60K tools/


  * We have around 2Mb of generated c code checked in the source tree:

~/tmp/nipy $ for file in **/*.pyx
ll $(echo $file | sed -s 's/.pyx/.c/')
-rw-r--r-- 1 varoquau varoquau 929K 2009-07-12 11:10
nipy/algorithms/statistics/intvol.c
-rw-r--r-- 1 varoquau varoquau 80K 2009-07-12 11:10
nipy/neurospin/bindings/array.c
-rw-r--r-- 1 varoquau varoquau 218K 2009-07-12 11:10
nipy/neurospin/bindings/linalg.c
-rw-r--r-- 1 varoquau varoquau 96K 2009-07-12 11:10
nipy/neurospin/bindings/wrapper.c
-rw-r--r-- 1 varoquau varoquau 74K 2009-07-12 11:10
nipy/neurospin/glm/kalman.c
-rw-r--r-- 1 varoquau varoquau 103K 2009-07-12 11:10
nipy/neurospin/group/glm_twolevel.c
-rw-r--r-- 1 varoquau varoquau 114K 2009-07-12 11:10
nipy/neurospin/group/_onesample.c
-rw-r--r-- 1 varoquau varoquau 115K 2009-07-12 11:10
nipy/neurospin/group/routines.c
-rw-r--r-- 1 varoquau varoquau 87K 2009-07-12 11:10
nipy/neurospin/group/_twosample.c
-rw-r--r-- 1 varoquau varoquau 230K 2009-07-12 11:10
nipy/neurospin/registration/_iconic.c
-rw-r--r-- 1 varoquau varoquau 104K 2009-07-12 11:10
nipy/neurospin/registration/_transform_affine.c
-rw-r--r-- 1 varoquau varoquau 142K 2009-07-12 11:10
nipy/neurospin/utils/routines.c

The second data point probably explains the first: these files change
often and in many place. They thus take up much space in the bzr pack.

This is purely a factoid, as I am not suggesting that we do anything
about it (we would be risking too much to put our users in situations
where they cannot build nipy), but it is interesting to realize that.

Gaël



More information about the Pkg-exppsy-pynifti mailing list