On 03/14/2013 09:13 AM, Bob Weinand wrote:
> And there is no possibility to store the zval as raw binary data like in 
> memory (deep copy?)
> So that you only have to copy from ram? And replace the pointers to the place 
> in the string?
> This must be possible I think. And should be faster.
> 
> shmop has to be opened on every request and only supports strings.
> APC, memcache,... can only save under serialized form which is slow.

APC doesn't serialize most types. Only actual objects need to be
serialized because it is the easiest way to fully save and restore
objects. eg. calling their __sleep()/__wakeup() magic methods, etc.
Arrays are not serialized.

-Rasmus


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to