Skip to content

Commit

Permalink
Optimize parsing of color strings into KnownColor enum, remove alloca…
Browse files Browse the repository at this point in the history
…tions (#9669)

* Speed up parsing of color strings to KnownColors

* Convert literals to PascalCase/Enum form, fix first-char comparison

* Decrease code-size back to original and save 0.3ns in worst-case
  • Loading branch information
h3xds1nz authored Jan 23, 2025
1 parent acfc83e commit 793610e
Showing 1 changed file with 500 additions and 356 deletions.
Loading

0 comments on commit 793610e

Please sign in to comment.