rust/src/librustc/middle
Björn Steinbrink 19dc72809d Optimize the lookup of traits containing a given method
Currently, trait_info is a hashmap that allows a quick lookup of all
methods contained in a given trait, but we actually only use it to
lookup traits that contain a given method. Adjusting the map to support
the lookup we actually need gives a nice speed boost, reducing the time
required for the resolution step for librustc from ~2.6s to ~1.0s on my
box.
2013-05-20 19:50:30 +02:00
..
borrowck auto merge of #6635 : brson/rust/snapshot, r=brson 2013-05-20 02:46:36 -07:00
trans auto merge of #6635 : brson/rust/snapshot, r=brson 2013-05-20 02:46:36 -07:00
typeck auto merge of #6635 : brson/rust/snapshot, r=brson 2013-05-20 02:46:36 -07:00
astencode.rs Use assert_eq! rather than assert! where possible 2013-05-19 08:16:02 -04:00
check_const.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
check_loop.rs
check_match.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
const_eval.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
dataflow.rs auto merge of #6635 : brson/rust/snapshot, r=brson 2013-05-20 02:46:36 -07:00
entry.rs Use assert_eq! rather than assert! where possible 2013-05-19 08:16:02 -04:00
freevars.rs syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. 2013-05-16 08:55:57 +10:00
kind.rs Rename vec::len(var) to var.len() 2013-05-15 11:05:28 +09:00
lang_items.rs Register snapshots 2013-05-19 23:34:32 -07:00
lint.rs Register snapshots 2013-05-19 23:34:32 -07:00
liveness.rs Re-implement lint with less emphasis on item ids 2013-05-17 00:49:16 -04:00
mem_categorization.rs Issue #5967: Make rvalues mutable 2013-05-14 09:26:21 -04:00
moves.rs syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. 2013-05-16 08:55:57 +10:00
pat_util.rs
privacy.rs
region.rs Use assert_eq! rather than assert! where possible 2013-05-19 08:16:02 -04:00
resolve.rs Optimize the lookup of traits containing a given method 2013-05-20 19:50:30 +02:00
subst.rs Refactor representation of bounds to separate out BuiltinBounds into 2013-05-09 11:39:06 -04:00
ty.rs Register snapshots 2013-05-19 23:34:32 -07:00