-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find out why doT is so much faster #49
Comments
Escape function ported in #50. Now templates generated with |
Also note that even doT compilation is faster. By a lot. (By a lot I mean almost 500%.) |
OK, after #50 and #56, (Measured using Compilation is marginally faster as well. |
I'm moving from Swig, as it unmaintained, and inbetween EJS and doT. I know you might be biased, but, what's the pros and cons of EJS and doT? Also, what should I do to make EJS better? |
@bentinata doT has an inherently more complex syntax, and thus a steeper learning curve is required. EJS is faster to learn, but once you get used to the doT "concise" syntax you might find a lot of |
This is more of a WIP for myself.
See if https://github.com/olado/doT/blob/master/doT.js#L48-L51 trick can be applied to EJS.Nope.WARNING: to anyone out there thinking tj/ejs is unreadable, please do not try on this task.
The text was updated successfully, but these errors were encountered: