python - Speed up loops in Tornado Template -


Is it possible to loop the speed in the template using the sithan, papi or numba?

  {For students for P [p for p.student and p.age & gt; 23]%} & lt; Li & gt; {{Survival (student.name)}} & lt; / Li & gt; {% End%}  

My intention is that the loop can be made faster for template rendering purpose.

In Numba something can be tried out like something

in Xrange (1, N): i = x = y [i] xx numba_sum = autojit () (python_sum) I> x = If a template is tried to pass as a function, then it fails.

The file "C: \ Python27 \ lib \ site- package \ numba \ dispatcher.py", line 123, _compile_and_call does not contain kws AsserttionError; The error throws when you call the template as a function

If you call server in pypy Templates should also fly, due to the template code being dynamically generated, it is not possible to use the citation for templates. I am not familiar with nmos, but with the error message it seems that it is * * Kwargs does not create that tornado temp Ets extensively using a choice of Cython always_allow_keywords ; If numba is something simple, you might be able to use it, but if it probably will not work.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -