Improve jQuery template performance

后端 未结 5 1263

Update

Apparently, jQuery templates can be compiled and it helps performance for templates with if statements shown here.

But a

5条回答
  •  感动是毒
    2021-02-19 19:59

    This seems to be the fastest engine right now: http://documentcloud.github.com/underscore/

    You can find a benchmarking test suite here that compares all different templating frameworks currently available: https://github.com/aefxx/jQote2 [download and run jqote.benchmark.htm].

    I do believe that jQuery templates are in their infancy and performance will improve in subsequent iterations.

提交回复
热议问题