Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse the whitespace flag in each glyph instead of going to the string for whitespace stripping. #8994
Conversation
highfive
commented
Dec 16, 2015
|
Review status: 0 of 3 files reviewed at latest revision, 3 unresolved discussions. components/gfx/text/text_run.rs, line 146 [r1] (raw file): components/gfx/text/text_run.rs, line 176 [r1] (raw file): components/gfx/text/text_run.rs, line 181 [r1] (raw file): Comments from the review on Reviewable.io |
6614aef
to
ee7f2de
|
Comments addressed. |
|
Reviewed 2 of 3 files at r1, 1 of 1 files at r2. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
Use the whitespace flag in each glyph instead of going to the string for whitespace stripping. `str::slice_chars` was O(n) and #2 in the profile. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8994) <!-- Reviewable:end -->
|
|
|
@pcwalton, can you reproduce these locally? |
|
@bors-servo try |
|
@bors-servo clean try |
|
@bors-servo try force |
|
@bors-servo clean try force |
|
@bors-servo try |
|
@bors-servo r- force |
|
@bors-servo try |
|
@bors-servo r=mbrubeck |
|
|
|
@bors-servo r=mbrubeck |
|
|
|
@bors-servo r=mbrubeck |
|
|
|
|
@bors-servo retry |
Use the whitespace flag in each glyph instead of going to the string for whitespace stripping. `str::slice_chars` was O(n) and #2 in the profile. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8994) <!-- Reviewable:end -->
|
|
|
|
@pcwalton This had test failures. Are you planning to investigate them, or should we close the PR? |
|
I'll look at them. |
|
Filed #9955 to keep track of this. Feel free to reopen it when you end up making progress. |
pcwalton commentedDec 16, 2015
str::slice_charswas O(n) and #2 in the profile.r? @mbrubeck