The serialize() function returns a non-safe string, that's why we must pack/unpack.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 1/7/11 4:32 PM, Victor Berchet wrote:
While checking the profiler code I have noticed that data are unpacked
before being stored to the sqlite db / exported and packed again on
import / retrieve.

The data being packed is a string (= serialize(...)) so I wonder what
is the rationale for (un)packing ?

If there is no real need for (un)packing, we could make the code more
readable and divide the required storage space by 2.

Anybody any clue ?

Thanks,
Victor


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to