Skip to content

Conversation

@dimonovp
Copy link
Owner

Original Pull Request

magento#13173

Description

In this PR I removed the count() method from condition section for some loops. When this method is used in the loop condition it will be executed every iteration which is not so good for process time (performance).

Fixed Issues (if relevant)

N/A

Manual testing scenarios

N/A

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants