Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: servo/rust-cssparser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: servo/rust-cssparser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: nesting-type-selector-perf
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 6, 2023

  1. parser: Use match_byte to look for delimiters.

    It's faster.
    emilio committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9bfd8be View commit details
    Browse the repository at this point in the history
  2. parser: minor clean-ups.

    emilio committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    6f43c7e View commit details
    Browse the repository at this point in the history
  3. rules: Avoid tokenizing too much when nesting declarations that look …

    …like selectors.
    
    This speeds up the test-case in Mozilla bug 1851814 to be ~5s to ~300ms
    on a local opt build.
    
    [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1851814
    emilio committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    30091d6 View commit details
    Browse the repository at this point in the history
Loading