diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-03-07 16:48:57 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-03-07 16:51:31 -0800 |
| commit | f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed (patch) | |
| tree | dc4426e7ef764f596c25feb3947980ea9ee2d042 /src/rustc/lib | |
| parent | a9bd76b3c11ee0ad706abc3779a337fee3550424 (diff) | |
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.
Diffstat (limited to 'src/rustc/lib')
| -rw-r--r-- | src/rustc/lib/llvm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustc/lib/llvm.rs b/src/rustc/lib/llvm.rs index 2dc2945d8de..83b45583a61 100644 --- a/src/rustc/lib/llvm.rs +++ b/src/rustc/lib/llvm.rs @@ -1,4 +1,5 @@ import str::sbuf; +import std::map::hashmap; import ctypes::{c_int, c_uint, unsigned, longlong, ulonglong}; |
