pre-intern single-letter sym::[a-zA-Z]#152948
Conversation
|
rustbot has assigned @jdonszelmann. Use Why was this reviewer chosen?The reviewer was selected based on:
|
compiler/rustc_span/src/symbol.rs
Outdated
| #[doc(inline)] | ||
| pub use super::sym_generated::*; | ||
|
|
||
| // use quite a lot in relation to C ABI |
There was a problem hiding this comment.
Eh, typo. Will fix later.
|
Not sure if I have enough rights, but let's try the magic spell @bors try @rust-timer queue |
|
@GrigorenkoPV: 🔑 Insufficient privileges: not in try users |
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
pre-intern single-letter `sym::[a-zA-Z]`
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
abcdef0 to
abcdef0
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (09623a8): 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 2.0%, secondary -2.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.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: 482.582s -> 480.846s (-0.36%) |
|
The perf regression is most likely noise, so perf looks good |
|
Reminder, once the PR becomes ready for a review, use |
|
I simply blessed the tests. IDK if these changes are acceptable or should warrant more investigation. @rustbot ready |
|
I would like to at least understand why the stderrs changed, I don't see an obvious explanation for this |
this is more correct now, well, more consistent maybe is the better word, it seems like the suggestion broke ties between equally-similar candidates by picking the lowest symbol index, and |
There was a problem hiding this comment.
@bors r+ rollup=never
Rollup=never for performance
| })) | ||
| } | ||
|
|
||
| pub fn character(c: char) -> Symbol { |
There was a problem hiding this comment.
I'm sad the name is character when everything else in this commit uses "letter".
There was a problem hiding this comment.
i can do follow up with rename ;)
There was a problem hiding this comment.
I'm sad the name is
characterwhen everything else in this commit uses "letter".
I was going to name it letter at first, but then I though it would be strange to not include digits here too, and it has a fallback for other characters anyway, hence character. After all, it works on any character, but has a special fast path for ascii letters and digits.
There's ascii_letter_digit just above, which does exactly what it says it does, has no fallback for other characters, and thus can be made const.
|
@bors p=6 |
This comment has been minimized.
This comment has been minimized.
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 846cb1e (parent) -> 1d113d2 (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 1d113d2f3068f6cadf0fe799307d7a06d771d866 --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 |
|
Finished benchmarking commit (1d113d2): 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.2%, secondary -1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -4.4%)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: 481.235s -> 508.307s (5.63%) |
View all comments
As suggested in #152624 (comment).
Needs a perf run I guess.