FYI: Cython vs Pyrex
Jelmer Vernooij
jelmer at samba.org
Mon May 9 14:25:09 UTC 2011
On Mon, 2011-05-09 at 15:54 +0200, John Arbash Meinel wrote:
> 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.
>
The Debian/Ubuntu packages depend on either cython or pyrex, but list
cython first which means that all of the Debian/Ubuntu buildds use
cython.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110509/d86eec9b/attachment.pgp>
More information about the bazaar
mailing list