mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1889: generate persisters #2385
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 (Jun 21, 2012).
Jira issue originally created by user @FabioBatSilva:
I'm not sure if this is really possible..
but to improve performance we should consider generate custom entity persisters.
Now entity persister are not cached,
if we generate it, we can create performance improvement in hidrators, avoiding checks and sql generation every time that an persister is called.
@doctrinebot commented on GitHub (Jun 21, 2012):
Comment created by @beberlei:
This should be relatively easy in the first step by ust generate the RSM and SQL statements in the constructor and extending from the default persister.
@beberlei commented on GitHub (Dec 5, 2020):
Not really critical anymore with PHP 7 perf improvements.