[Cython] CEP1000: Native dispatch through callables

Stefan Behnel stefan_ml at behnel.de
Tue Apr 17 17:55:44 CEST 2012

Dag Sverre Seljebotn, 17.04.2012 15:20:
> On 04/17/2012 03:16 PM, Stefan Behnel wrote:
>> Dag Sverre Seljebotn, 17.04.2012 14:53:
>>> Is bytes a vararg object or does it wrap a char*?
>> The data is stored internally in all CPython versions. Note that access to
>> it may not be efficient in other Python implementations, but at least PyPy
>> would also have a problem with providing a non-reference counted char*
>> value (unless they let it live forever, that is...).
> Are there any implications for PyPy as the *caller* w.r.t. a bytes object
> or a char*? E.g. if it wants to parse the format string and JIT a dispatch.

I don't think so.


More information about the cython-devel mailing list