26 Sep
2010
26 Sep
'10
10:48 a.m.
On Sun, Sep 26, 2010 at 7:07 AM, Nick Coghlan
On Sun, Sep 26, 2010 at 9:05 PM, Mark Dickinson
wrote: A less invasive proposal would be just to introduce __sin__, etc. magic methods [...]
I'm not sure how I feel about the entailed magic method explosion, though.
Couple that with the extra function call overhead (since these wouldn't have real typeslots) and it still seems like a less than stellar idea.
This could certainly be implemented so as to be fast for floats and flexible for everything else. -j