Le Sat, 26 Oct 2013 22:35:10 -0400,
Ben Darnell <
b...@bendarnell.com> a écrit :
> I've just committed a cython-based implementation of the websocket
> mask function, which greatly improves the performance of large
> uploads over websockets. This is currently experimental: it will be
> used if Cython is present when Tornado is installed, and otherwise
> the pure-python version will be used.
>
> Of course, depending on the order of installation of different
> packages is not a good idea, so I want to change this before the next
> release of Tornado. I don't want to make the cython extensions
> required because I know it's a pain to get a suitable C compiler
> setup on windows, but I would like to make the extensions mandatory
> on linux and probably mac. Is there anyone out there using Tornado
> on linux in an environment where building cython-based extensions is
> difficult?
AFAIR, you should be able to bundle the C code generated by Cython
inside source distributions, so that users can compile the module
without Cython installed (you still need a C compiler, though,
obviously, but this one is much more likely to be already installed on
the average Unix setup).
Regards
Antoine.