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

Moshe Weitzman weitzman at tejasa.com
Fri Oct 21 14:39:11 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

I'd like to see some benchmarks on this approach vs. current serialization 
technique.



More information about the drupal-devel mailing list