equal
deleted
inserted
replaced
292 val pg_opt = combine(optimise(pg)) |
292 val pg_opt = combine(optimise(pg)) |
293 compute4(pg_opt, jtable(pg_opt), 0, 0, m) |
293 compute4(pg_opt, jtable(pg_opt), 0, 0, m) |
294 } |
294 } |
295 |
295 |
296 // testcases |
296 // testcases |
297 //println(combine(optimise(load_bff("collatz.bf")))) |
297 //println(combine(optimise(load_bff("mandelbrot.bf").drop(123)))) |
298 |
298 |
299 //combine(optimise(load_bff("benchmark.bf"))) // => """>A+B[<A+M>A-A]<A[[.....""" |
299 //combine(optimise(load_bff("benchmark.bf"))) // => """>A+B[<A+M>A-A]<A[[.....""" |
300 |
300 |
301 //time_needed(1, run4(load_bff("benchmark.bf"))) |
301 //time_needed(1, run4(load_bff("benchmark.bf"))) |
302 |
302 |
303 //time_needed(1, run(load_bff("sierpinski.bf"))) |
303 //time_needed(1, run(load_bff("sierpinski.bf"))) |
304 //time_needed(1, run4(load_bff("sierpinski.bf"))) |
304 //time_needed(1, run4(load_bff("sierpinski.bf"))) |
305 |
305 |
306 //println(time_needed(1, run4(load_bff("mandelbrot.bf")))) |
306 //println(time_needed(1, run4(load_bff("mandelbrot.bf")))) |
|
307 |
|
308 |
|
309 |
307 |
310 |
308 |
311 |
309 } |
312 } |
310 |
313 |
311 /* |
314 /* |