FYI: Cython vs Pyrex
John Arbash Meinel
john at arbash-meinel.com
Mon May 9 13:54:23 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/9/2011 3:29 PM, Alexander Belchenko wrote:
> 09.05.2011 13:49, INADA Naoki пишет:
>> I tried simple test on IPython.
>>
>> a = range(10000)
>> %timeit _bencode_pyx.bencode(a)
>>
>> Cython: 2.5ms
>> Pyrex: 3.04ms
>>
>> Now Bazaar uses Pyrex when both of Pyrex and Cython is installed.
>> How about use Cython for default?
>
> As I remember, Cython generates the code which cannot be compiled with
> MSVC, and windows installer seems to use MSVC to build extensions.
> Maybe they fixed that, but I'm not sure somebody cares.
>
I use MSVC and Cython, I haven't had problems with it. I *think* the EC2
instance we use doesn't have pyrex installed, and we are already using
Cython for the Windows installers.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3H8g8ACgkQJdeBCYSNAAMkHgCgpwFC21WhgPSfvDKTRHPPea/+
eusAoLaqIFi20AHUkuOlhVgQKDrOjW9c
=wDO7
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list