Using Cython with Django. Does it make sense?

前端 未结 6 1626
滥情空心
滥情空心 2020-12-24 05:58

Is it possible to optimize speed of a mission critical application developed in Django with Cython?

Recently I have read on the internet, that Cython can turn a Pyth

6条回答
  •  隐瞒了意图╮
    2020-12-24 06:34

    It depends if you have heavy processes on the backend side. In my case it could improve one of the processes and speed it up ~5 times. I had a function that rework large XML files that is inputed by the user and save the output into database. telling Cython that in some places the input or output is string did the 5x speed up magic.

提交回复
热议问题