[Numpy-discussion] Interesting timing results
Sasha
ndarray at mac.com
Tue Jan 17 17:51:04 CST 2006
On 1/17/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Anybody wanting to help out. This is a good place. One issue is how to
> handle scalar math division-by-zero, and overflow errors. Ideally these
> should be handled the same way that ufuncs do. But, this will
> necessarily cause some slow-down to look up the local and-or
> module-level attribute that can alter the behavior.
>
Let me try to fill in the functions that take and return bools. Since
this is the only type with a finite domain, it deserves to be handled
separately. Once the two values are interned, the ops can be
implemented as real fast table lookups.
-- sasha
More information about the Numpy-discussion
mailing list