Skip to content

Commit

Permalink
Improved perf for msgsend (Issue #2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
eholk committed Jun 25, 2012
1 parent 07e1d1c commit 3ba7ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/bench/msgsend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn run(args: [str]) {
let mut worker_results = [];
for uint::range(0u, workers) {|_i|
let builder = task::builder();
worker_results += [task::future_result(builder)];
vec::push(worker_results, task::future_result(builder));
task::run(builder) {||
for uint::range(0u, size / workers) {|_i|
comm::send(to_child, bytes(100u));
Expand Down

0 comments on commit 3ba7ca5

Please sign in to comment.