Git Product home page Git Product logo

Comments (9)

PaulGuo avatar PaulGuo commented on July 26, 2024

thx!

1* 子模板嵌套后续我会加上。
2* 性能上在 核心实现 上其实与artTemplate是持平的(在art发布之前,跟其作者糖饼就模板引擎问题也一直有沟通交流),有些包装Juicer认为是默认配置(优先级较高的,这些外层实现跟art有很大不同),所以包装后的整体性能对比我觉得可能不能完全反映整个引擎的性能状况,我也会后续重新做些调研把整体的性能提升到极致。

再次感谢对juicer的关注和支持,juicer会继续完善继续努力。

from juicer.

nuintun avatar nuintun commented on July 26, 2024

祝Juicer越来越好~~~

from juicer.

xingyeqishi avatar xingyeqishi commented on July 26, 2024

现在支持子模板嵌套了吗?

from juicer.

PaulGuo avatar PaulGuo commented on July 26, 2024

@newtonniu @xingyeqishi 10月16号发布一版 (0.6.2),修复几个issue,且增加子模板嵌套功能。

语法: {@include sub-tpl, data} ,感谢关注啊~

from juicer.

PaulGuo avatar PaulGuo commented on July 26, 2024

@newtonniu @xingyeqishi v0.6.2-stable released. 已经加入子模板嵌套的支持。

from juicer.

nuintun avatar nuintun commented on July 26, 2024

@PaulGuo 恩,现在就方便多了,不过不知道是不是功能支持的太多了,好像现在渲染速度没有引擎速度比赛中0.4.0-dev这个版本速度快了,0.4.0-de渲染150+ms,现在大概要300+ms(chrome中测试)!

from juicer.

PaulGuo avatar PaulGuo commented on July 26, 2024

@newtonniu 是有这个情况的,从0.5.6开始,each支持Object类型的遍历就导致速度比赛中耗时增加。因为forfor in相比的速度差异就是0.5.6之前和之后速度差异的原因。但是权衡易用性,还是保留each支持Array/Object两种类型的遍历。

from juicer.

nuintun avatar nuintun commented on July 26, 2024

@PaulGuo 恩,能否做个判断Array/Object分别调用不同的遍历方式,这样可能效率会好些。

from juicer.

PaulGuo avatar PaulGuo commented on July 26, 2024

@newtonniu Thx, 这个我回头加上测下试试。

from juicer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.