rust/src/librustc/metadata
Ariel Ben-Yehuda fc304384e6 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.
2015-08-24 20:24:38 +03:00
..
common.rs rustc: Allow changing the default allocator 2015-08-14 15:13:10 -07:00
creader.rs Create "platform-intrinsic" ABI for SIMD/platform intrinsics. 2015-08-17 14:41:38 -07:00
csearch.rs fallout from moving def-id 2015-08-24 05:35:34 -04:00
cstore.rs rustc: Allow changing the default allocator 2015-08-14 15:13:10 -07:00
decoder.rs convert to use is_local instead of == LOCAL_CRATE 2015-08-24 05:35:34 -04:00
encoder.rs convert to use is_local instead of == LOCAL_CRATE 2015-08-24 05:35:34 -04:00
filesearch.rs
inline.rs fallout from moving def-id 2015-08-24 05:35:34 -04:00
loader.rs Stabilize the Duration API 2015-08-10 20:04:18 -04:00
macro_import.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
mod.rs move InlinedItem into librustc, where it belongs 2015-08-14 20:07:55 -04:00
tydecode.rs Use a Vec instead of an HashMap for the scope hierarchy 2015-08-24 20:24:38 +03:00
tyencode.rs Use a Vec instead of an HashMap for the scope hierarchy 2015-08-24 20:24:38 +03:00