@Constellation If @inikulin is OK, I'd like to merge esotope's work into the master I will be happy if you do that. I've learned some tips during this optimization which I would like to share with you. I found it surprisingly hard to optimize code generator and it was not because of the initial code quality, but because of how code generation works. Use statement/expression generator maps instead