rust/src/libstd/collections/hash
Eduard Burtescu 4a4315bf4b Inline hash_table::calculate_offsets, used by iterators.
The `HashMap` and `HashSet` iterators use `RawTable::first_bucket_raw` which is generic and will get inlined cross-crate.
However, `first_bucket_raw` calls `calculate_offsets` and the call doesn't get inlined, despite being a simple function.
This missing `#[inline]` results in `hash_table::calculate_offsets` showing up at the top of a callgrind profile with 3 million calls (for the testcase in #25916).
2015-05-31 11:03:46 +03:00
..
bench.rs cleanup: Remove unused braces in use statements 2015-03-28 02:23:20 -07:00
map.rs Make debug builders take &mut self, add entries method 2015-05-17 17:33:29 -07:00
mod.rs
set.rs Make debug builders take &mut self, add entries method 2015-05-17 17:33:29 -07:00
state.rs
table.rs Inline hash_table::calculate_offsets, used by iterators. 2015-05-31 11:03:46 +03:00