Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2999

[GH-962] Stop executeDeletions when there is nothing to to delete anymore

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of netiul:

      Url: https://github.com/doctrine/doctrine2/pull/962

      Message:

      A small improvement in `UOW::commit`. Only continue executing the for-loop when there's something to delete. This may save quite some calls to `UOW::executeDeletions`.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-962] was closed:
        https://github.com/doctrine/doctrine2/pull/962

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-962] was closed: https://github.com/doctrine/doctrine2/pull/962

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: