Re: serialize and cache handling
| From: | Lukas Kahwe Smith | Date: | Mon, 07 May 2007 22:24:01 +0000 |
| Subject: | Re: serialize and cache handling | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29299@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
Indeed, especially since this is the most common use case. Maybe it should optionally also return an md5 of the written data. regards, Lukascan write this data to disk. So, you needs 20MB. If serialize (and of course unserialize) would be able to write directly to disk (or read directly from disk), you only needs 10MB.Actually having serialize/unserialize be able to write directly to a stream and read directly from a stream might be interesting, would probably improve working with things like large sessions or caching large data substantially.