4 ms·
I've been playing with Cython recently and I'm really impressed with its compatibility with arbitrary Python code. It's possible to compile all of Tornado with
by bdarnell 13y ago
I've been playing with Cython recently and I'm really impressed with its compatibility with arbitrary Python code. It's possible to compile all of Tornado with only minor changes (for a ~25% speedup without any type annotations).
https://groups.google.com/forum/#!topic/python-tornado/Kele72rCUaE https://groups.google.com/forum/#!topic/python-tornado/Kele7...
- pjscott 13y agoAnd you can usually get significantly larger speedups if you profile to find hotspots and then declare the types of a few variables in them.