Closed NekR closed 8 years ago
@NekR yeah, this is still very much a WIP, still huge amounts to do :) the bit you've found simply hasn't been done yet/
@trueadm just decided to report it. I know it's WIP. Also it's a bit hard to review it because I do not know which output is correct for Inferno. But one more thing which noticed is that your are generating a lot of code for the template. So it might be better to generate some helpers first, especially if there is potential of those code to repeat many times.
@NekR that's where things slow down. The idea is that templates can be either using the Inferno functional API or the imperative API. The imperative API means more code but is vastly faster, and thus why i opted to go this route (it's what makes Inferno fast in all the benchmarks).
@trueadm this makes sense. But helpers should be also optimized if used many times. Does small helpers really slow down everything?
Templaes are evaluated into this. Note
undefined.appendChild(...)
.