Thank you for your help!
Sebastian, I couldn't agree more with someone's bug being someone else's
feature! A fast identity ufunc would be useful, though.
Actually, numpy.frompyfunc(operator.is_,2,1) is much faster than the
numpy.vectorize approach - only about 35% slower on quick measurement
On Wed, 2017-07-19 at 08:31 +, martin.gfel...@swisscom.com wrote:
> Thank you for your help!
>
> Sebastian, I couldn't agree more with someone's bug being someone
> else's feature! A fast identity ufunc would be useful, though.
>
An `object_identity` ufunc should be very easy to implement,