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

Gerhard Killesreiter killesreiter at physik.uni-freiburg.de
Sun Feb 6 17:55:52 UTC 2005



On Sun, 6 Feb 2005, Matt Schwartz wrote:

> 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.

This is the alternative approach for which I already have a (somewhat
dirty) parser. ;)

The problem is that the most elegant way to write such a parser involves
using php 4.3.x. If we only want the function names, a php 4.1 version
could be developed, though.

Cheers,
	Gerhard



More information about the drupal-devel mailing list