-
Notifications
You must be signed in to change notification settings - Fork 75
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
Allow static analysis of performance #299
Comments
|
Regarding #2, the use case is as follows. If you allow the end user to create their own templates, they might write very inefficient templates such as abuse of looping statements etc. That is the use case I am thinking about. |
So a static analysis profiler, interesting. I'll have to give this some thought on the best way to handle it. On a related note, we also need to take care of #300. |
Just a few general questions on liquid-rust.
would you say this implementation provides the same level of safety as the ruby version? i.e. since an end user can create their templates, they won't be able to do anything dangerous.
Is there a way to introspect the liquid document. I believe in the ruby version you can see how many if statements, loops etc. the template has (this is probably to analyze the general complexity of the template - or limit the # of certain tags).
Great work!
The text was updated successfully, but these errors were encountered: