Skip to content

Commit ffad1d2

Browse files
committed
---
yaml --- r: 33822 b: refs/heads/snap-stage3 c: 3ac90ec h: refs/heads/master v: v3
1 parent d74deeb commit ffad1d2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3acf4a2a9cbad952250543a3a9d3a8bd6d2eccf1
4+
refs/heads/snap-stage3: 3ac90ec9f8eb1ad74c73f15268b19e472fc96b76
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/bench/shootout-k-nucleotide-pipes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn find(mm: HashMap<~[u8], uint>, key: ~str) -> uint {
6969
// given a map, increment the counter for a key
7070
fn update_freq(mm: HashMap<~[u8], uint>, key: &[u8]) {
7171
let key = vec::slice(key, 0, key.len());
72-
mm.insert_with(key, 1, |v,v1| { v+v1 });
72+
mm.update(key, 1, |v,v1| { v+v1 });
7373
}
7474

7575
// given a ~[u8], for each window call a function

branches/snap-stage3/src/test/bench/shootout-k-nucleotide.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fn find(mm: HashMap<~[u8], uint>, key: ~str) -> uint {
6666
// given a map, increment the counter for a key
6767
fn update_freq(mm: HashMap<~[u8], uint>, key: &[u8]) {
6868
let key = vec::slice(key, 0, key.len());
69-
mm.insert_with(key, 1, |v,v1| { v+v1 });
69+
mm.update(key, 1, |v,v1| { v+v1 });
7070
}
7171

7272
// given a ~[u8], for each window call a function

0 commit comments

Comments
 (0)