[pymvpa] base.py

Valentin Haenel valentin.haenel at gmx.de
Mon May 11 10:57:33 UTC 2009


Hi,

I am looking at mvpa/datasets/base.py, line 986.

This call to deepcopy has turned up in my current profiling run, and I was
thinking about optimizing this somehow.

I believe that the deepcopy call is only required when the ids will actually be
sorted. I hope I am not missing the point, but I cannot see any other need for
the ids to be copied.

What are your thought on this?

V-




More information about the Pkg-ExpPsy-PyMVPA mailing list