Skip to content

Improve performance again by dumbing down nested arrays#2077

Merged
ondrejmirtes merged 1 commit into1.9.xfrom
dumb-down-arrays
Dec 20, 2022
Merged

Improve performance again by dumbing down nested arrays#2077
ondrejmirtes merged 1 commit into1.9.xfrom
dumb-down-arrays

Conversation

@ondrejmirtes
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might make sense to use lazyOr so it may early exit

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(or you just return from within the loop on YES)

@ondrejmirtes ondrejmirtes marked this pull request as ready for review December 20, 2022 22:11
@phpstan-bot
Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 7922d30 into 1.9.x Dec 20, 2022
@ondrejmirtes ondrejmirtes deleted the dumb-down-arrays branch December 20, 2022 22:19
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