Uh oh!
There was an error while loading. Please reload this page.
Don't include ASCII characters in Unicode tables - #146173
Conversation
rustbot
commented
Sep 3, 2025
rustbot
commented
Sep 3, 2025
If you want to modify |
jhpratt
commented
Sep 4, 2025
The change itself looks fine, but let's check perf just in case. Reviewing the other discussion, it seems that the team would like to see the impact before potentially merging this. @bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Don't include ASCII characters in Unicode tables
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Sep 4, 2025
Finished benchmarking commit (cdb994f): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -10.5%, secondary 1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.6%, secondary -3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 466.26s -> 465.424s (-0.18%) |
bors
commented
Sep 6, 2025
☔ The latest upstream changes (presumably #146255) made this pull request unmergeable. Please resolve the merge conflicts. |
jhpratt
commented
Sep 6, 2025
Given the nearly zero perf impact, this LGTM. As the team already indicated they're willing to accept changes like this, I'm fine merging this as is. Let me know when this is rebased to avoid a conflict. @rustbot author |
rustbot
commented
Sep 6, 2025
Reminder, once the PR becomes ready for a review, use |
The ASCII subset of Unicode is fixed and will never change, so we don't need to generate tables for it with every new Unicode version. This saves a few bytes of static data and speeds up `char::is_control` and `char::is_grapheme_extended` on ASCII inputs. Since the table lookup functions exported from the `unicode` module will give nonsensical errors on ASCII input (and in fact will panic in debug mode), I had to add some private wrapper methods to `char` which check for ASCII-ness first.
f35f48c to
a8c6694Comparerustbot
commented
Sep 7, 2025
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Kmeakin
commented
Sep 7, 2025
@rustbot ready |
jhpratt
commented
Sep 7, 2025
@bors r+ |
bors
commented
Sep 7, 2025
bors
commented
Sep 8, 2025
bors
commented
Sep 8, 2025
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing a09fbe2 (parent) -> beeb8e3 (this PR) Test differencesShow 148 test diffs148 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard beeb8e3af54295ba494c250e84ecda4c2c5d85ff --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
rust-timer
commented
Sep 8, 2025
Finished benchmarking commit (beeb8e3): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.7%, secondary -3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 468.082s -> 466.876s (-0.26%) |
…jhpratt Don't include ASCII characters in Unicode tables Split off from rust-lang#145219
Split off from #145219