code generation
Proof of Concept: code generation module
Hi,
I've been testing some code generation techniques for Drupal; I created a module that copies the code of your drupal installation to a temporary directory. First it splits all functions and class into seperate files. Then it modifies the function calls so that functions gets loaded when needed.
It will decrease memory usage a lot! Especially when a great number of modules are installed.
Optimize performance using code generation
I posted an feature request for Drupal 7, but on second thoughts I think it fits here better: #363891. I think Drupal could gain performance using automatic code generation.
