-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[arithmetic_side_effects] Cache symbols #10675
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
Conversation
r? @llogiq (rustbot has picked a reviewer for you, use r? to override) |
Good catch! @bors r+ |
[arithmetic_side_effects] Cache symbols An internal-only modification to speed up the processing of symbols because "intern" isn't very cheap, even more when you are doing the same thing for every method expression.
💔 Test failed - checks-action_test |
Ah, we missed the changelog line. @bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Isn't it simpler to add that strings to symbol table, and then just filter on symbols, skipping str<->String comparison/conversions? |
That is what I asked at #10615 (comment) IIRC, it is not rare to see PRs in |
An internal-only modification to speed up the processing of symbols because "intern" isn't very cheap, even more when you are doing the same thing for every method expression.
changelog: none