module restructuring

This commit is contained in:
nora 2021-04-25 10:09:37 +02:00
parent 6d7205bc4b
commit 42fc197341
6 changed files with 53 additions and 30 deletions

View file

@ -30,7 +30,7 @@ fn run(program: String) {
let out = interpreter::o1::run(&*program);
let end1 = start1.elapsed().unwrap();*/
let start2 = SystemTime::now();
let out2 = interpreter::o2::run(&*program).unwrap();
let out2 = interpreter::o2::run(&*program, false).unwrap();
let end2 = start2.elapsed().unwrap();
//assert_eq!(out, out2);
//println!("{}\nFinished execution. Took o1: 18008ms (for hanoi), o2: {}ms", out2/*, end1.as_millis()*/, end2.as_millis());