-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Use raw_entry for more efficient interning #56324
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
LGTM. r? @nikomatsakis @bors try (for perf) |
⌛ Trying commit e1adef66a8383d29a92ec9069b78d12c4aa68245 with merge fb4874d830c2e1e085a3bb8a83ee9a54b7570c31... |
☀️ Test successful - status-travis |
@rust-timer build fb4874d |
Insufficient permissions to issue commands to rust-timer. |
@rust-timer build fb4874d830c2e1e085a3bb8a83ee9a54b7570c31 |
Success: Queued fb4874d830c2e1e085a3bb8a83ee9a54b7570c31 with parent b68fc18, comparison URL. |
Finished benchmarking try commit fb4874d830c2e1e085a3bb8a83ee9a54b7570c31 |
Well that is odd. Let's see if performance is unchanged if I skip raw_entry and do a double lookup. @bors try |
⌛ Trying commit 07d10fe3b2e8061212c81d789f65449ae0070132 with merge 696602f085fc42a2c0560b36627e6eeda1374c81... |
I've seen this before in |
☀️ Test successful - status-travis |
@rust-timer build 696602f085fc42a2c0560b36627e6eeda1374c81 |
Success: Queued 696602f085fc42a2c0560b36627e6eeda1374c81 with parent a49316d, comparison URL. |
I've added inline attributes to things that weren't inlined. @bors try |
⌛ Trying commit 74e4e9c1d0801dec1305f675bcb660be1b68cfb6 with merge b4c80f1bb327a736dce362d4a059b1d414b5182c... |
☀️ Test successful - status-travis |
Finished benchmarking try commit 696602f085fc42a2c0560b36627e6eeda1374c81 |
@bors try |
⌛ Trying commit 9afd6877ae657b194450a772fd27325fe4542133 with merge 4be721be11349e95dc58f71db4148a60eb5439c2... |
I see a 5% speedup in item-bodies checking locally now. |
r=me pending perf results |
☀️ Test successful - status-travis |
@rust-timer build 4be721be11349e95dc58f71db4148a60eb5439c2 |
Insufficient permissions to issue commands to rust-timer. |
@rust-timer build 4be721be11349e95dc58f71db4148a60eb5439c2 |
Success: Queued 4be721be11349e95dc58f71db4148a60eb5439c2 with parent 0c1dc62, comparison URL. |
Finished benchmarking try commit 4be721be11349e95dc58f71db4148a60eb5439c2 |
@bors r=nikomatsakis |
📌 Commit 946ea14 has been approved by |
That's pretty awesome :) |
Use raw_entry for more efficient interning Fixes rust-lang#56308 (comment)
Rollup of 19 pull requests Successful merges: - #55011 (Add libstd Cargo feature "panic_immediate_abort") - #55821 (Use sort_by_cached_key when the key function is not trivial/free) - #56014 (add test for issue #21335) - #56131 (Assorted tweaks) - #56214 (Implement chalk unification routines) - #56216 (Add TryFrom<&[T]> for [T; $N] where T: Copy) - #56268 (Reuse the `P` in `InvocationCollector::fold_{,opt_}expr`.) - #56324 (Use raw_entry for more efficient interning) - #56336 (Clean up and streamline the pretty-printer) - #56337 (Fix const_fn ICE with non-const function pointer) - #56339 (Remove not used option) - #56341 (Rename conversion util; remove duplicate util in librustc_codegen_llvm.) - #56349 (rustc 1.30.0's linker flavor inference is a non-backwards compat change to -Clinker) - #56355 (Add inline attributes and add unit to CommonTypes) - #56360 (Optimize local linkchecker program) - #56364 (Fix panic with outlives in existential type) - #56365 (Stabilize self_struct_ctor feature.) - #56367 (Moved some feature gate tests to correct location) - #56373 (Update books)
☔ The latest upstream changes (presumably #56381) made this pull request unmergeable. Please resolve the merge conflicts. |
Fixes #56308 (comment)
r? @eddyb