Replies: 1 comment
-
@Aaronontheweb I don't know there you wrote it that u benchmark the switch statement vs the akka fluent matcher |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is a performance increase to pattern match on sealed message types vs non-sealed message types
Reference: https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/#peanut-butter
It is a good practice to seal all used message types and also make them immutable.
Beta Was this translation helpful? Give feedback.
All reactions