Skip to content
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

Passing variables directly to the compiler #605

Closed
emilos opened this issue Apr 10, 2020 · 0 comments
Closed

Passing variables directly to the compiler #605

emilos opened this issue Apr 10, 2020 · 0 comments
Labels
enhancement New feature or request performance

Comments

@emilos
Copy link
Contributor

emilos commented Apr 10, 2020

Some variables are const, come from env or can be hardcoded. For cases like that we'd like to have the possibility to optimize the template even further and pass those variables to the compiler instead of the rendering function. This way the compiler will be able to inline them one step ahead, which will make the template faster.

@emilos emilos added enhancement New feature or request performance labels Apr 10, 2020
@emilos emilos added this to To do in Optimisations Apr 27, 2020
@emilos emilos closed this as completed Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance
Projects
No open projects
Optimisations
  
To do
Development

No branches or pull requests

1 participant