Pyrex and Cython
Russel Winder
russel at russel.org.uk
Fri Jul 2 07:15:10 BST 2010
Not really on topic, but there are people on this list with experience
it would be great if I could tap:
In various little experiments using Pyrex and Cython -- which amount to
microbenchmarks -- I am finding that the same tight loop, doubles-based
algorithm coding in Pyrex is significantly slower than using Cython.
Cython is relatively close to C whilst Pyrex is significantly slower,
but a lot faster than Python.
Does this match people's experiences or do I perhaps need to investigate
whether I have poor Pyrex code whereas I seem to have reasonable Cython
code.
Thanks.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at russel.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100702/7b0577ae/attachment.pgp
More information about the bazaar
mailing list