William Lovaton wrote:
Rasmus,

El jue, 06-01-2005 a las 08:23 -0800, Rasmus Lerdorf escribió:

On Thu, 6 Jan 2005, William Lovaton wrote:

This is great.  In my high performance web app I created a PHP library
that abstracted this to use several backends.  For instance I have a
File backend and a SHM backend that uses the functions provided by the
sysvshm PHP module.  With this functions, do they need to
serialize/unserialize every time I put/get something in/from the cache??

If you are doing this in user-space PHP, then yes, you will have to serialize.


From my PHP library I use shm_put_var() and shm_get_var(). If
serialization is done this way then it is implicit... right?

Yes, these functions serialize/unserialize behing the scenes.

-Rasmus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to