jplane / DurableStateMachines

Bringing the power of hierarchical state machines to a .NET Core runtime near you.
MIT License
10 stars 2 forks source link

Updates ExecutableContent to use switch statement over elif #6

Closed ianphil closed 3 years ago

ianphil commented 3 years ago

Learning a bit about c# 9 so this change is not necessary, however it's interesting. Some even say switch statements, given it is ordered based on frequency, is faster than an elif block.