Skip to content

Conversation

kamil-tekiela
Copy link
Contributor

match is better optimized than multiple if statements, especially when JIT is in use.

Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
@MauricioFauth MauricioFauth merged commit 9d4796d into phpmyadmin:master Oct 25, 2024
9 of 10 checks passed
@MauricioFauth MauricioFauth self-assigned this Oct 25, 2024
@MauricioFauth MauricioFauth added this to the 6.0.0 milestone Oct 25, 2024
@kamil-tekiela kamil-tekiela deleted the Micro-optimizations branch October 25, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants