I've created the .pyx files and it passed in all python tests.

To test them, as I said, I copied the .py test files to my project
directory, generated the .so files, import them instead of python modules
and run. I run every test file and it passed in all of them. To run the
tests, run the file 'run-tests.sh'

I used just .pyx in this module, should I reimplement it using pxd with the
normal .py?

I'll still see the performance, and tell here... The code is updated in
repository...

Best Regards

[]s

Arthur

2011/4/13 Stefan Behnel <stefan...@behnel.de>

> Robert Bradshaw, 12.04.2011 22:42:
>
>> On Tue, Apr 12, 2011 at 11:22 AM, Stefan Behnel wrote:
>>
>>> Arthur de Souza Ribeiro, 12.04.2011 14:59:
>>>
>>>> The code is in this repository:
>>>>
>>>> https://github.com/arthursribeiro/JSON-module your feedback would be
>>>> very
>>>> important, so that I could improve my skills to get more and more able
>>>> to
>>>> work sooner in the project.
>>>>
>>>
>>> I'd strongly suggest implementing this in pure Python (.py files instead
>>> of
>>> .pyx files), with externally provided static types for performance. A
>>> single
>>> code base is very advantageous for a large project like CPython, much
>>> more
>>> than the ultimate 5% better performance.
>>>
>>
>> While this is advantageous for the final product, it may not be the
>> easiest to get up and running with.
>>
>
> Agreed. Arthur, it's fine if you write Cython code in a .pyx file to get
> started. You can just extract the declarations later.
>
>
> Stefan
> _______________________________________________
> cython-devel mailing list
> cython-devel@python.org
> http://mail.python.org/mailman/listinfo/cython-devel
>
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to