Skip to content

Commit 35e3448

Browse files
committed
---
yaml --- r: 142839 b: refs/heads/try2 c: 0e882f2 h: refs/heads/master i: 142837: f7042eb 142835: d48f6af 142831: 22e9414 v: v3
1 parent b2e7676 commit 35e3448

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 6b37b5bab74a87c4f05274e6a49d9e28a4c0f4e1
8+
refs/heads/try2: 0e882f2bbda58e8271ff25c1467a35fc3ff26dd4
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/test/bench/core-map.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn timed(label: &str, f: &fn()) {
2727
io::println(fmt!(" %s: %f", label, end - start));
2828
}
2929

30-
fn ascending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
30+
fn ascending<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint) {
3131
io::println(" Ascending integers:");
3232

3333
do timed("insert") {
@@ -49,7 +49,7 @@ fn ascending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
4949
}
5050
}
5151

52-
fn descending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
52+
fn descending<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint) {
5353
io::println(" Descending integers:");
5454

5555
do timed("insert") {
@@ -71,7 +71,7 @@ fn descending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
7171
}
7272
}
7373

74-
fn vector<M: Map<uint, uint>>(map: &mut M, n_keys: uint, dist: &[uint]) {
74+
fn vector<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint, dist: &[uint]) {
7575

7676
do timed("insert") {
7777
for uint::range(0, n_keys) |i| {

branches/try2/src/test/bench/core-set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn timed(result: &mut float, op: &fn()) {
3636
}
3737

3838
impl Results {
39-
pub fn bench_int<T:Set<uint>,
39+
pub fn bench_int<T:MutableSet<uint>,
4040
R: rand::Rng>(
4141
&mut self,
4242
rng: &mut R,
@@ -79,7 +79,7 @@ impl Results {
7979
}
8080
}
8181

82-
pub fn bench_str<T:Set<~str>,
82+
pub fn bench_str<T:MutableSet<~str>,
8383
R:rand::Rng>(
8484
&mut self,
8585
rng: &mut R,

0 commit comments

Comments
 (0)