[Numpy-discussion] numpy log and exceptions

Nathaniel Smith njs at pobox.com
Wed Oct 22 10:02:15 EDT 2014


On 22 Oct 2014 14:57, "Daπid" <davidmenhur at gmail.com> wrote:
>
>
> On 22 October 2014 15:43, Nathaniel Smith <njs at pobox.com> wrote:
>>
>> I guess we could make this more consistent by hand if we wanted - isnan
is pretty cheap?
>
>
>
> Can it be made avoiding storing the full bool array? The 1/8 memory
overhead can be problematic for large arrays.

Yeah,  we could push the check into the inner loop so the memory overhead
would be, like, 1 byte.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141022/67cbd4ea/attachment.html>


More information about the NumPy-Discussion mailing list