-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce ThicknessConverter allocs to minimum and improve conversion pe…
…rformance (#9363) * use DefaultInterpolatedStringHandler over StringBuilder and remove large chunk of allocs * simplify and remove alloc on FromString method as well * further optimize codegen based on manual review/benchmark * removal additional type casts, simplify code logic * remove unsafe code, move FormatDoubleAsString back to LengthConverter
- Loading branch information
Showing
2 changed files
with
76 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters