[Numpy-discussion] A proposal to implement round in C Was: Rookie problems - Why is C-code much faster?

Sasha ndarray at mac.com
Thu Feb 23 16:45:04 EST 2006

Rint ufunc and ndarray metod "round" are in svn.  x.round(...) is
about 20x faster than around(x) for decimals=0 and about 6x faster for
decimals>0.  The case decimals<0   is slower on integers, but it
actually does something :-)

More information about the NumPy-Discussion mailing list