stdlib: Stop incurring vtable dispatch costs when hashmaps are used
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
This commit is contained in:
parent
a9bd76b3c1
commit
f0250a23d3
49 changed files with 95 additions and 47 deletions
|
@ -4,6 +4,7 @@
|
|||
import rustc::syntax::ast;
|
||||
import rustc::syntax::print::pprust;
|
||||
import rustc::middle::ast_map;
|
||||
import std::map::hashmap;
|
||||
|
||||
export mk_pass;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue