Hi all,

Is it expected that the following script would spend over half of the total execution time in defmatrix.py:103(__array_finalize__)?

from numpy import matrix

m=matrix( (1,1) )
for i in range(1000000):
  m[0,0] = 0.


Python version is 2.5b1, NumPy 0.9.8.

More importantly, is there a way to avoid this overhead?

Thanks,
-Kevin Jacobs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to