Req #43287 [Opn->Fbk]: Unserialize is very slow
| From: | ajf@php.net | Date: | Fri, 09 Jan 2015 01:00:29 +0000 |
| Subject: | Req #43287 [Opn->Fbk]: Unserialize is very slow | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189811@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=43287&edit=1
ID: 43287
Updated by: ajf@php.net
Reported by: k dot gorbunoff at gmail dot com
Summary: Unserialize is very slow
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Linux
PHP Version: 5.2.5
Block user comment: N
Private report: N
New Comment:
Is this still an issue? json_decode() (for JSON-encoded data) may be faster as it doesn't need
to check for references.
Previous Comments:
------------------------------------------------------------------------
[2007-11-14 06:05:29] k dot gorbunoff at gmail dot com
Description:
------------
I'm using serialize()/unserialize() very active for storing/retrieving objects to/from memory
(using memcached/xcache). The main problem is performance: unserialize() takes very much time and
finally caching comes not very effective. This is not version-related problem, I'm expecting on
all 4/5 versions. Unfortunately there is now way to share objects between PHP processes without
serialize()/unserialize(). I just want draw your attention to made unserialize() faster... or create
a way to share data between PHP processes without using serializing at all. I think optimizing
unserialize() should be easier. Thank you.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=43287&edit=1