3 ms·
Do you happen to be using a lot of trait bounds? I had a small library that was slow due to this, and was able to refactor from ~3 minute builds to ~6 seconds b
by gameswithgo 7y ago
Do you happen to be using a lot of trait bounds? I had a small library that was slow due to this, and was able to refactor from ~3 minute builds to ~6 seconds by grouping the trait bounds into marker traits.
There is a compiler flag you can use to list where time is being spent and it showed all my time was spent dealing with those trait bounds.
There is an open issue to make that not necessary.
If your time is spent linking, you can swap the lld linker in
- kibwen 7y agoThough note that LLD isn't supported on Mac, so no luck there.