Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script: Avoid an allocation when getting attribute data. #1554

Merged
merged 1 commit into from Jan 25, 2014

Conversation

pcwalton
Copy link
Contributor

15% improvement in selector matching performance on the rainbow page.

r? @SimonSapin

15% improvement in selector matching performance on the rainbow page.
@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/636

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

bors-servo pushed a commit that referenced this pull request Jan 25, 2014
…imonSapin

15% improvement in selector matching performance on the rainbow page.

r? @SimonSapin
@bors-servo bors-servo merged commit 1b786fe into servo:master Jan 25, 2014
Ms2ger added a commit to Ms2ger/servo that referenced this pull request Jan 25, 2014
SimonSapin added a commit to SimonSapin/servo that referenced this pull request Jan 25, 2014
Lower-case attribute names when parsing selectors rather than when
matching. This avoid one allocation in matching code.
therealglazou pushed a commit to therealglazou/servo that referenced this pull request Feb 20, 2014
therealglazou pushed a commit to therealglazou/servo that referenced this pull request Feb 20, 2014
Lower-case attribute names when parsing selectors rather than when
matching. This avoid one allocation in matching code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants