[dev] extensionExists() modification?

Michael M Slusarz slusarz at bigworm.colorado.edu
Thu Mar 4 06:36:25 PST 2004


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Chuck Hagenbuch <chuck at horde.org>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Better PEAR::loadExtension().
>>
>> Hmm. Because PEAR's function already calls extension_exists(), there's
>> no way to
>> take advantage of our caching in Util::extensionExists(). It's a small
>> function; any objections to reimplementing loadExtension inside Util, but
>> taking advantage of our caching?
>
> No, makes sense.

Agreed, especially since extension_exists() is soooo slow.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the dev mailing list