[drupal-devel] performance improvements - avoiding big unserialize()

Bertrand Mansion bmansion at mamasam.com
Fri Oct 21 17:45:22 UTC 2005


Konstantin Käfer wrote:

>Hi,
>
>why don't we use the var_export() function [1] and save the settings to 
>a regular file? And for versions prior to PHP 4.2.0 we could write a 
>workaround function - at least it seams pretty simple to implement.
>
>Regards,
>Konstantin Käfer
>
>[1]: http://php.net/manual/en/function.var-export.php

Looks like a much better solution than using APC (for portability reasons) or
serialization (for performance reasons).
-- 
Bertrand Mansion
http://www.mamasam.com         - creative internet solutions
http://golgote.freeflux.net - my blog



More information about the drupal-devel mailing list