Skip to content

Blazor WebAssembly perf: InitializeNewAttributeFrame should use culture-insensitive ordinal string comparison #24465

Closed
@SteveSandersonMS

Description

@SteveSandersonMS

This is part of #22432

RenderTreeDiffBuilder currently does a culture-sensitive match when checking if an attribute name starts with on. This was not intentional - there's no reason we shouldn't do this with a culture-invariant match. This trivial change gives a 2-3% gain on the PlainTable/ComplexTable benchmarks.

Metadata

Metadata

Labels

area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions