4 ms·
A very large portion of performance problems can be mitigated with the use of cython and the new asyncio stuff. asyncio success story: https://magic.io/blog/as
by jjawssd 10y ago
A very large portion of performance problems can be mitigated with the use of cython and the new asyncio stuff.
asyncio success story: https://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/ https://magic.io/blog/asyncpg-1m-rows-from-postgres-to-pytho...
cython: http://scikit-learn.org/stable/developers/performance.html http://scikit-learn.org/stable/developers/performance.html
- vegabook 10y agoLuajit is at least 10x faster than python and easily obviates the need to mess around with cython. That's an easy win for Lua. Let's be honest: Torch has decided that if you cannot beat them, join them. It is about network effects. Not about Python better than Lua intrinsically.
- inlineint 10y agoAn alternative to Cython is Numba [1], which speeds up some cycles in pure Python by just adding a single decorator. [1] http://numba.pydata.org/ http://numba.pydata.org/