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
..
2013-05-15 11:05:28 +09:00
2013-05-19 23:34:32 -07:00
2013-05-19 23:34:32 -07:00
2013-05-19 23:34:32 -07:00