Analysis on causes of exploding number of generated classes
I think it is useful to investigate which patterns typically causes explosion in the number of generated classes. Then we can look for solutions, which eventually and hopefully contribute to a faster compilation process and possibly increased runtime performance.
Submitted by Elmer van Chastelet on 21 November 2013 at 11:26
- For each template
x
that has a call toelements
in its own definition, every template call tox
that has a body (egx(){ body() }
) will cause the compiler to lift the body of the template call to a newly generated template. I think this is currently the main cause of template(=generated classes) explosion.
Log in to post comments