diff options
| author | bors <bors@rust-lang.org> | 2017-06-21 12:28:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-21 12:28:48 +0000 |
| commit | 39220a9d9febbf8df995501f4271ce3d664559dd (patch) | |
| tree | 78fd419ce4e02ad8480dc50060c417636062e657 /src/libstd/thread | |
| parent | 03198da2add75a0bcec792ffd84fcc8d94e8637e (diff) | |
| parent | ae8545bd146659f6ed4b063166e382da623bc6f8 (diff) | |
| download | rust-39220a9d9febbf8df995501f4271ce3d664559dd.tar.gz rust-39220a9d9febbf8df995501f4271ce3d664559dd.zip | |
Auto merge of #42751 - arielb1:fast-representable, r=eddyb
Memoize types in `is_representable` to avoid exponential worst-case I could have made representability a cached query, but that would have been added complexity for not much benefit - outside of the exponential worst-case, this pass is fast enough already. Fixes #42747. r? @eddyb
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
