Le lundi 17 août 2009 à 20:53 +1000, Nick Coghlan a écrit :
P.S. PEP 309 is wrong when it says a C version probably isn't worthwhile - between the time the PEP was first implemented and the time 2.5 was actually released, enough investigation was done to show that the speed gain from Hye-Shik Chang's C version was well worth the additional code complexity.
Yes, one-line Python wrappers can kill performance of pure C code. Seen that in the IO lib, again. Regards Antoine.