about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-21 12:28:48 +0000
committerbors <bors@rust-lang.org>2017-06-21 12:28:48 +0000
commit39220a9d9febbf8df995501f4271ce3d664559dd (patch)
tree78fd419ce4e02ad8480dc50060c417636062e657 /src/libstd/thread
parent03198da2add75a0bcec792ffd84fcc8d94e8637e (diff)
parentae8545bd146659f6ed4b063166e382da623bc6f8 (diff)
downloadrust-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