Only lookup types in one interner#50332
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
@bors try |
[WIP] Only lookup types in one interner
|
☀️ Test successful - status-travis |
|
r? @eddyb |
|
@Mark-Simulacrum I'd like a perf run here |
|
Perf queued (and started). |
src/librustc/ty/context.rs
Outdated
There was a problem hiding this comment.
Do you want to remove these eprintln!s? You already have asserts here.
src/librustc/ty/flags.rs
Outdated
There was a problem hiding this comment.
Can't you reuse TypeVisitor for this? Seems like a lot of code IMO.
This comment has been minimized.
This comment has been minimized.
|
LGTM, modulo the implementation duplicating a lot of logic. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors try |
[WIP] Only lookup types in one interner
|
☀️ Test successful - status-travis |
|
@Mark-Simulacrum I'd like another perf run to see if the fast path helps |
|
Perf queued. |
|
It seems like the fast-path wasn't a win. I've removed it and also applied the transformation to the interning macro. |
|
📌 Commit e245d69 has been approved by |
Only lookup types in one interner
|
☀️ Test successful - status-appveyor, status-travis |
No description provided.