feat: warn on local changes to dependency & related fixes#2425
Conversation
|
Nice! |
|
Now that I took a closer look at the code, I'm interested: what's with the inline/noinline changes? Surely |
This is an unrelated tweak. I have noticed the new compiler ( A similar problem also occurs in the old compiler for Actually, I think I might go test a bench of that core change to see if my assumptions on savings are true. |
I don't understand, is the new compiler becoming a compile-time bottleneck due to this? We should not optimize our code for run time under a compiler that's not even in use yet. |
|
@Kha It makes no difference practically because the old compiler does not inline these definitions either way, but |
|
I think so, yes. Optimizing for a future compiler seems like an especially egregious case of premature optimization to me. |
Closes leanprover/lake#167.