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

style: Optimize serialization of identifiers of length <= 16 🐉🐲 #19974

Merged
merged 1 commit into from Feb 7, 2018

Conversation

@emilio
Copy link
Member

emilio commented Feb 7, 2018

Much like we optimize to_ascii_lowercase.


This change is Reviewable

@highfive
Copy link

highfive commented Feb 7, 2018

Heads up! This PR modifies the following files:

  • @bholley: components/style/stylesheets/font_feature_values_rule.rs, components/style/gecko_string_cache/mod.rs, components/style/values/mod.rs, components/style/values/specified/mod.rs, components/style/values/computed/font.rs and 2 more
  • @canaltinova: components/style/stylesheets/font_feature_values_rule.rs, components/style/gecko_string_cache/mod.rs, components/style/values/mod.rs, components/style/values/specified/mod.rs, components/style/values/computed/font.rs and 2 more
@highfive
Copy link

highfive commented Feb 7, 2018

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style code, but no tests are modified. Please consider adding a test!
@nox
Copy link
Member

nox commented Feb 7, 2018

r=me with a green geckotry. Nice dragoning.

@emilio
Copy link
Member Author

emilio commented Feb 7, 2018

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

📌 Commit fc3911e has been approved by nox

@highfive highfive assigned nox and unassigned pcwalton Feb 7, 2018
@jdm
Copy link
Member

jdm commented Feb 7, 2018

@bors-servo r-
Fails test-tidy and fails ./mach build.

@emilio emilio force-pushed the emilio:atom-serialization branch from fc3911e to e0df617 Feb 7, 2018
@emilio
Copy link
Member Author

emilio commented Feb 7, 2018

Thanks @jdm, fixed

@emilio
Copy link
Member Author

emilio commented Feb 7, 2018

@bors-servo try

  • I'll add a test for the unknown namespace thingie if there isn't one.
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

Trying commit e0df617 with merge e52d9d5...

bors-servo added a commit that referenced this pull request Feb 7, 2018
style: Optimize serialization of identifiers of length <= 16 🐉🐲

Much like we optimize to_ascii_lowercase.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19974)
<!-- Reviewable:end -->
@emilio
Copy link
Member Author

emilio commented Feb 7, 2018

@bors-servo r=nox

  • Upon reflection servo doesn't support generated content with namespaced attributes...
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

📌 Commit e0df617 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

Testing commit e0df617 with merge eca4328...

bors-servo added a commit that referenced this pull request Feb 7, 2018
style: Optimize serialization of identifiers of length <= 16 🐉🐲

Much like we optimize to_ascii_lowercase.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19974)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

💔 Test failed - linux-dev

Much like we optimize to_ascii_lowercase.

This also fixes a bug in Servo where attr() rules with an unknown namespace
prefix are parsed, which is wrong.
@emilio emilio force-pushed the emilio:atom-serialization branch from e0df617 to f4c9c59 Feb 7, 2018
@emilio
Copy link
Member Author

emilio commented Feb 7, 2018

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

📌 Commit f4c9c59 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

Testing commit f4c9c59 with merge b55cce7...

bors-servo added a commit that referenced this pull request Feb 7, 2018
style: Optimize serialization of identifiers of length <= 16 🐉🐲

Much like we optimize to_ascii_lowercase.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19974)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

💔 Test failed - linux-rel-css

@jdm
Copy link
Member

jdm commented Feb 7, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

Testing commit f4c9c59 with merge a0e4ea9...

bors-servo added a commit that referenced this pull request Feb 7, 2018
style: Optimize serialization of identifiers of length <= 16 🐉🐲

Much like we optimize to_ascii_lowercase.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19974)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2018

@bors-servo bors-servo merged commit f4c9c59 into servo:master Feb 7, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Feb 7, 2018
4 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.