[drupal-devel] Speed of Drupal, memory usage, and all that stuff

Gabor Hojtsy gabor at hojtsy.hu
Sun Feb 6 17:49:29 UTC 2005


> Instead of having each module add a .functions file how about quickly
> string parsing .module files for function names?  Upon encountering a
> new .module drupal grabs all function names (not compiled by PHP but by
> reading it in as a text file) and caches them in the database.  This way
> drupal will have its list of module functions cached, no PHP compile is
> necessary until functions are required, and module developers won't have
> to change or add anything.

Sadly, the PHP tokenizer is only available since PHP 4.3.0 for sure.

Goba



More information about the drupal-devel mailing list