Skip to content

Replace array_map with foreach improves performance.#21

Open
beberlei wants to merge 1 commit intojwadhams:masterfrom
beberlei:ReplaceArrayMapWithForeach
Open

Replace array_map with foreach improves performance.#21
beberlei wants to merge 1 commit intojwadhams:masterfrom
beberlei:ReplaceArrayMapWithForeach

Conversation

@beberlei
Copy link

This is another massive improvement, we see a 267ms drop in overall time spent in the library from a total of 600ms.

Bildschirmfoto 2025-10-21 um 11 54 37

You see in the screenshot how 120k calls to array_map are going away, foreach is much faster in that case.

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.

1 participant