about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorValerii Lashmanov <vflashm@gmail.com>2020-09-15 09:37:19 -0500
committerValerii Lashmanov <vflashm@gmail.com>2020-09-17 20:44:11 -0500
commit2f3296192bb5be5fcb02975395052ee8c3b2bd68 (patch)
tree01176084735b315f8535a3152fbf2ce41fe54e5a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent255ceeb5ff9875b7f525aa101c8adc155f3e0ef8 (diff)
downloadrust-2f3296192bb5be5fcb02975395052ee8c3b2bd68.tar.gz
rust-2f3296192bb5be5fcb02975395052ee8c3b2bd68.zip
Only visit types once when walking the type tree
This fixes #72408.

Nested closures were resulting in exponential compilation time.

As a performance optimization this change introduces MiniSet,
which is a simple small storage optimized set.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions