Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
Let's see if this causes any of the performance issues in #72121: @bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit 4b808ee4c1f4d16a72114889038c4ea2ebb613ee with merge d97eb6fdac44fb15b9a3996f1de01e8265e85007... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit 89e00da2ff53c32ea1753737f8556f8b77ef5d10 with merge 244e1f853fa4115575ec8a4b64f257ae7cbcaed3... |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☀️ Try build successful - checks-azure |
|
Queued 244e1f853fa4115575ec8a4b64f257ae7cbcaed3 with parent dd927a5, future comparison URL. |
|
Finished benchmarking try commit 244e1f853fa4115575ec8a4b64f257ae7cbcaed3, comparison URL. |
|
The |
|
Keeping something in global data is a last resort, Which place in #72121 doesn't have access to resolver to get the |
|
@petrochenkov: I think it should be possible to access I made this change to simplify #72121. Instead of needing to deserialize from a separate side table into the resolver when we deserialize an Are you worried that there could be a performance impact that's not revealed by the perf run? |
|
Removing that map might help fix #71820 actually. Is there a version of the code that works that i could try out? |
I see, so it needs to be (de)serialized for Could you place it directly into |
We store store the `DefId` directly in `ExpnData`. This will allow us to serialize `ExpnData` in PR rust-lang#72121 without needing to manage a side table.
89e00da to
d277904
Compare
|
@petrochenkov: Updated |
|
@bors try @rust-timer queue r=me otherwise |
|
Awaiting bors try build completion |
|
⌛ Trying commit d277904 with merge 3cf94ad0dc89d67b40807889bdfcd0552afbc4db... |
|
☀️ Try build successful - checks-azure |
|
Queued 3cf94ad0dc89d67b40807889bdfcd0552afbc4db with parent 215f2d3, future comparison URL. |
|
Finished benchmarking try commit 3cf94ad0dc89d67b40807889bdfcd0552afbc4db, comparison URL. |
|
@petrochenkov: It looks like the regression was spurious |
|
@bors r+ |
|
📌 Commit d277904 has been approved by |
Rollup of 3 pull requests Successful merges: - rust-lang#72284 (Remove `macro_defs` map) - rust-lang#72393 (Rewrite `Parser::collect_tokens`) - rust-lang#72528 (Fix typo in doc comment.) Failed merges: r? @ghost
We now store the
DefIddirectly inExpnKind::Macro. This will allowus to serialize
ExpnDatain PR #72121 without needing to manage a sidetable.