Skip to content

Inline array_map(fn, $arr) and use foreach-loop instead - #3926

Closed
staabm wants to merge 1 commit into
phpstan:2.1.xfrom
staabm:inline-map
Closed

staabm wants to merge 1 commit into
phpstan:2.1.xfrom
staabm:inline-map

Conversation

@staabm

@staabm staabm commented Apr 8, 2025 •

Copy link
Copy Markdown
Contributor

@ondrejmirtes

Copy link
Copy Markdown
Member

Please provide some real-world benchmark what effect this has. I'm not willing to compromise on how I want the code to look to gain zero point nothing seconds in performance 😊

@staabm

staabm commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

yes absolutely. I am still exploring and use the PR to share my work with nielsdos so we can investigate until something meaningful manifests

@staabm

staabm commented Apr 14, 2025

Copy link
Copy Markdown
Contributor Author

@staabm staabm closed this Apr 14, 2025
@staabm
staabm deleted the inline-map branch April 14, 2025 18:28
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.

2 participants