[DDC-946] Evaluate optional use of igbinary for serialization Created: 22/Dec/10  Updated: 09/Feb/14  Resolved: 07/Feb/14

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Improvement Priority: Major
Reporter: Benjamin Eberlei Assignee: Marco Pivetta
Resolution: Won't Fix Votes: 1
Labels: None


Igbinary is supposed to be faster and better than serialize/unserialize(). We should check if its relevant for us (metadata and query caching for example):


Comment by Benjamin Eberlei [ 22/Dec/10 ]


Comment by Marco Pivetta [ 07/Feb/14 ]

I don't think this is still relevant: closing it, since the serialization improvement can be achieved by hacking a new Doctrine\Common\Cache\Cache implementation for those who really need it.

Comment by Marco Pivetta [ 09/Feb/14 ]

Just a note. Benjamin Eberlei told me that igbinary overrides `unserialize` breaking compat. I personally think that's a very bad idea, but it's not a problem if you use PHP 5.4, since we automatically get rid of the `unserialize` hack and use `ReflectionClass#newInstanceWithoutConstructor()` instead, which is much cleaner

Generated at Tue Dec 01 22:25:48 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.