mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2166: Improve Identifier hashing in IdentiyMap #2725
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 (Nov 25, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
There are currently some drawbacks with identifier hashing:
There is a PR by goetas (https://github.com/doctrine/doctrine2/pull/232) that solves some issues, however adds a performance hit.
We should move the conditional logic of this code out and use a strategy pattern to improve both performance and robustness of this code.