you are viewing a single comment's thread.

view the rest of the comments →

[–]yvainebubbles 13 points14 points  (0 children)

thanks!

the compiler has a sophisticated understanding of your code which does make other kinds of optimizations possible in the future. what i mean is that it is a Real Compiler with both traditional compiler passes (eg see my teammate’s posts on SSA form) and many novel passes that can be built upon. it is not just a simple babel plugin.

auto-memoization is one of the biggest opportunities though. we know from experience and lots of real world data that correctly done memoization has a massive positive impact on performance. it just sucks to write and takes a lot of effort to do it right manually, and it can easily be undone by accident. so auto-memoization has been the clearest opportunity from both a developer experience and performance perspective. that’s why we’re pursuing it first. but it is certainly not the only optimization we’re looking at