-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use SmallBitVec to optimize size of PropertyDeclarationBlock #18431
Conversation
Heads up! This PR modifies the following files:
|
@bors-servo try |
WIP: Use SmallBitVec to optimize size of PropertyDeclarationBlock https://bugzilla.mozilla.org/show_bug.cgi?id=1398322 <!-- 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/18431) <!-- Reviewable:end -->
💔 Test failed - windows-msvc-dev |
@bors-servo try |
WIP: Use SmallBitVec to optimize size of PropertyDeclarationBlock https://bugzilla.mozilla.org/show_bug.cgi?id=1398322 <!-- 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/18431) <!-- Reviewable:end -->
💔 Test failed - mac-rel-css2 |
|
@bors-servo try |
WIP: Use SmallBitVec to optimize size of PropertyDeclarationBlock https://bugzilla.mozilla.org/show_bug.cgi?id=1398322 <!-- 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/18431) <!-- Reviewable:end -->
💔 Test failed - mac-rel-css2 |
@bors-servo retry
|
WIP: Use SmallBitVec to optimize size of PropertyDeclarationBlock https://bugzilla.mozilla.org/show_bug.cgi?id=1398322 <!-- 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/18431) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
@bors-servo try- I think this is ready now. r? @bholley |
See https://bugzilla.mozilla.org/show_bug.cgi?id=1398322#c14 regarding eq perf, which I think we should probably fix before landing, otherwise revalidation will get slower. At a high-level this looks great otherwise, but given the unsafe code I think it probably deserves a more-careful review than I have cycles for at the moment, so probably @SimonSapin or @Manishearth should at least review the SmallBitVec code. |
The latest |
r=me on this PR and https://github.com/servo/smallbitvec/blob/v1.0.2/src/lib.rs. While we’re at it, let’s land this with 1.0.3 instead of 1.0.2? Reviewed 5 of 5 files at r1, 7 of 7 files at r2. components/style/properties/declaration_block.rs, line 81 at r2 (raw file):
components/style/properties/declaration_block.rs, line 249 at r2 (raw file):
To avoid indexing, could this use Comments from Reviewable |
@bors-servo r=SimonSapin Addressed all of the review comments above. |
📌 Commit a5a0e9f has been approved by |
Use SmallBitVec to optimize size of PropertyDeclarationBlock https://bugzilla.mozilla.org/show_bug.cgi?id=1398322 <!-- 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/18431) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt3 |
@bors-servo retry Infra |
⚡ Previous build results for android, linux-dev, mac-dev-unit, windows-msvc-dev are reusable. Rebuilding only arm32, arm64, linux-rel-css, linux-rel-wpt, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4... |
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
https://bugzilla.mozilla.org/show_bug.cgi?id=1398322
This change is