Skip to content

Optimize Switch Expression #133

@jogibear9988

Description

@jogibear9988

Code generated from Switch Expression is not yet optimal:

  • Optimize Equal check, atm equal check is done, and then branch if true. This could be combined to one command
  • Use Comparison Method of Switch Statement
  • (Moved to Optimize Switch with OpCodes.Switch  #398) Use Switch IL Code for Integer, long, ... (if possible). When int difference is less then 3 it should be used!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions