Vitja Makarov | 2 Oct 23:52 2011
Picon

Re: [Cython] CyFunction refactoring plan

2011/10/3 mark florisson <markflorisson88@...>:
> On 2 October 2011 19:44, Vitja Makarov <vitja.makarov@...> wrote:
>> 2011/10/2 mark florisson <markflorisson88@...>:
>>> On 2 October 2011 18:52, Vitja Makarov <vitja.makarov@...> wrote:
>>>> 2011/9/30 mark florisson <markflorisson88@...>:
>>>>> On 30 September 2011 07:47, Vitja Makarov
<vitja.makarov@...> wrote:
>>>>>> 2011/9/30 Vitja Makarov <vitja.makarov@...>:
>>>>>>> 2011/9/30 Robert Bradshaw <robertwb@...>:
>>>>>>>> On Thu, Sep 29, 2011 at 10:43 PM, Stefan Behnel
<stefan_ml@...> wrote:
>>>>>>>>> Vitja Makarov, 30.09.2011 06:41:
>>>>>>>>>>
>>>>>>>>>> 2011/9/28 Vitja Makarov:
>>>>>>>>>>>
>>>>>>>>>>> I tried to build simple plan for ongoing cython function refactoring
>>>>>>>>>>>
>>>>>>>>>>> * Replace assignment synthesis with SingleAssignmentNode, where LHS is
>>>>>>>>>>> NameNode and RHS is PyCFunctionNode
>>>>>>>>>>> * Split function body into python wrapper and C function
>>>>>>>>>>> http://wiki.cython.org/enhancements/generators#Pythonfunctionrefactoring
>>>>>>>>>>>
>>>>>>>>>>> Then we can implement some features and optimizations:
>>>>>>>>>>>
>>>>>>>>>>> * Reduce difference between cdef and def functions
>>>>>>>>>>> * Store runtime evaluated default values inside CyFunction, ticket #674
>>>>>>>>>>> * Implement no-args super(), ticket #696
>>>>>>>>>>> * Function call inlining
>>>>>>>>>>
>>>>>>>>>> If nobody don't mind I would start with first one.
(Continue reading)


Gmane