mirror of
https://github.com/Noratrieb/brainfuck.git
synced 2026-01-15 22:05:02 +01:00
module restructuring
This commit is contained in:
parent
6d7205bc4b
commit
42fc197341
6 changed files with 53 additions and 30 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue