Control flow structures vs Pattern Matching

I believe I heard once pattern matching is fast. So there’s that. but don’t listen to me, dummy here.