diff options
| author | Ariel Ben-Yehuda <arielb1@mail.tau.ac.il> | 2015-08-20 01:46:28 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2015-08-24 20:24:38 +0300 |
| commit | fc304384e6ed40f505fa0f04043044dd44e73118 (patch) | |
| tree | b595551863601a56187c8f7b87237ac10bca2915 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 2bcc6d8ec7f525328a1e8c8ce423ac3ac015eb6d (diff) | |
| download | rust-fc304384e6ed40f505fa0f04043044dd44e73118.tar.gz rust-fc304384e6ed40f505fa0f04043044dd44e73118.zip | |
Use a Vec instead of an HashMap for the scope hierarchy
This increases regionck performance greatly - type-checking on librustc decreased from 9.1s to 8.1s. Because of Amdahl's law, total performance is improved only by about 1.5% (LLVM wizards, this is your opportunity to shine!). before: 576.91user 4.26system 7:42.36elapsed 125%CPU (0avgtext+0avgdata 1142192maxresident)k after: 566.50user 4.84system 7:36.84elapsed 125%CPU (0avgtext+0avgdata 1124304maxresident)k I am somewhat worried really need to find out why we have this Red Queen's Race going on here. Originally I suspected it may be a problem from RFC1214's warnings, but it seems to be an effect from other changes. However, the increase seems to be mostly in LLVM's time, so I guess it's the LLVM wizards' problem.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
