1 Jun 2012 15:49
Re: [Cython] SEP 201 draft: Native callable objects
On 05/31/2012 10:13 PM, Robert Bradshaw wrote: > On Thu, May 31, 2012 at 12:29 PM, Dag Sverre Seljebotn > <d.s.seljebotn@...> wrote: >> On 05/31/2012 08:50 PM, Robert Bradshaw wrote: >>> >>> On Thu, May 31, 2012 at 7:04 AM, Dag Sverre Seljebotn >>> <d.s.seljebotn@...> wrote: >>>> >>>> [Discussion on numfocus@... please] >>>> >>>> I've uploaded a draft-state SEP 201 (previously CEP 1000): >>>> >>>> https://github.com/numfocus/sep/blob/master/sep201.rst >>>> >>>> """ >>>> Many callable objects are simply wrappers around native code. This holds >>>> for >>>> any Cython function, f2py functions, manually written CPython extensions, >>>> Numba, etc. >>>> >>>> Obviously, when native code calls other native code, it would be nice to >>>> skip the significant cost of boxing and unboxing all the arguments. >>>> """ >>>> >>>> >>>> The thread about this on the Cython list is almost endless: >>>> >>>> http://thread.gmane.org/gmane.comp.python.cython.devel/13416/focus=13443 >>>> >>>> There was a long discussion on the key-comparison vs. interned-string(Continue reading)
RSS Feed