mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-788: Metadata Caching with var_export #968
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 4, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
An improvement in the metadata caching strategy was brought to my attention.
Instead of serializing away the instance, we could var_export() it, implement ClassMetadataInfo::__var_export() and write that to a file and require it:
Advantages:
Disadvantages:
@doctrinebot commented on GitHub (Sep 4, 2010):
Comment created by romanb:
For what its worth, I tried this once and gave up on the idea due to the fact that there were no noticable performance gains.
@doctrinebot commented on GitHub (Sep 4, 2010):
Comment created by @beberlei:
I developed this in a branch to test the performance, and it was worse than APC. So this issue can be dropped.
@doctrinebot commented on GitHub (Sep 4, 2010):
Issue was closed with resolution "Invalid"