[DDC-1931] Cache $oid and $className through method calls in UoW internals Created: 17/Jul/12 Updated: 24/Jul/12 Resolved: 24/Jul/12 |
|
| Status: | Closed |
| Project: | Doctrine 2 - ORM |
| Component/s: | ORM |
| Affects Version/s: | None |
| Fix Version/s: | 2.3 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Marco Pivetta | Assignee: | Marco Pivetta |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | None | ||
| Description |
|
As suggested by Johannes Schmitt, calls in UoW can re-use $oid and $className by passing them to the various methods of UoW internals |
| Comments |
| Comment by Marco Pivetta [ 18/Jul/12 ] |
|
Performance gain is nearly 0... Not worth it as far as I've seen. |