Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ordinal comparison when detecting event handler attributes. Fixes #24465 #24471

Merged

Conversation

SteveSandersonMS
Copy link
Member

Details are in #24465

It's actually giving a 4% gain on the PlainTable benchmark now, perhaps because there are fewer other instructions overall.

To avoid any confusion, this shouldn't break anyone's scenarios. The on detection was never meant to be culture-sensitive, and there's no scenario I know of where you would have an attribute name that matches on... only due to culture sensitivity.

@SteveSandersonMS SteveSandersonMS added the area-blazor Includes: Blazor, Razor Components label Jul 31, 2020
@SteveSandersonMS SteveSandersonMS requested a review from a team July 31, 2020 13:50
@SteveSandersonMS SteveSandersonMS merged commit f28ef7c into master Jul 31, 2020
@SteveSandersonMS SteveSandersonMS deleted the stevesa/perf-ordinal-event-handler-detection branch July 31, 2020 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants