@nox pointed out (https://github.com/servo/rust-cssparser/pull/112#issuecomment-286152329) that https://github.com/rust-lang/rust/pull/39456 brings the same performance to plain `match` expressions.