rust-cssparser icon indicating copy to clipboard operation
rust-cssparser copied to clipboard

Reconsider match_byte macro if plain match becomes optimized enough

Open SimonSapin opened this issue 8 years ago • 3 comments

@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.

SimonSapin avatar Mar 13 '17 17:03 SimonSapin

1.17.0 is stable, but the tests::unquoted_url benchmark is ~2x slower when compiled with --features dummy_match_byte. CC @nox, @emilio

SimonSapin avatar Jun 27 '17 08:06 SimonSapin

Sad!

nox avatar Jun 27 '17 09:06 nox

Still a ~2x difference in 1.71

SimonSapin avatar May 08 '23 20:05 SimonSapin