Skip to content

Instantly share code, notes, and snippets.

View magistere's full-sized avatar

Yuriy Skalko magistere

  • 22:32 (UTC +02:00)
View GitHub Profile
extern mod extra;
use std::os;
use std::from_str::FromStr;
use extra::time;
fn main() {
let args = os::args();
let numThreads = if args.len() == 2 {
FromStr::from_str(args[1]).unwrap()