diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2019-01-09 18:40:30 +0100 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2019-01-10 20:10:11 +0100 |
| commit | 07600c939b594b39f560bc969caca2e92498435a (patch) | |
| tree | ebb6e2ac2d31f3a72a507541bebc6cf6ed576274 /src/rustllvm/RustWrapper.cpp | |
| parent | 664c7797f6bfddf9f5e67474c2fd8017f91d7110 (diff) | |
| download | rust-07600c939b594b39f560bc969caca2e92498435a.tar.gz rust-07600c939b594b39f560bc969caca2e92498435a.zip | |
Drop "solved" constraints during region expansion
Once a region has been expanded to cover a fixed region, a corresponding RegSubVar constraint won't have any effect on the expansion anymore, the same is true for constraints where the variable on the RHS has already reached static scope. By removing those constraints from the set that we're iterating over, we remove a lot of needless overhead in case of slow convergences (i.e. lots of iterations). For the unicode_normalization crate, this about cuts the time required for item_bodies checking in half.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
