added in a mode that prints the timing when finding all results
This commit is contained in:
parent
45a8854398
commit
1093399c1e
|
@ -2063,10 +2063,15 @@ of digits with deconv-base
|
||||||
(define null '())
|
(define null '())
|
||||||
,@r6-module-bodies))))
|
,@r6-module-bodies))))
|
||||||
|
|
||||||
(printf "Running in the Redex model...\n")
|
(printf "Running in the Redex model finding only the first outcome...\n")
|
||||||
(time (for ([test (in-list redex-exps)])
|
(time (for ([test (in-list redex-exps)])
|
||||||
(evaluate reductions test #f void
|
(evaluate reductions test #f void
|
||||||
#:only-first-answer? #t))))]
|
#:only-first-answer? #t)))
|
||||||
|
|
||||||
|
(printf "Running in the Redex model finding all outcomes...\n")
|
||||||
|
(time (for ([test (in-list redex-exps)])
|
||||||
|
(evaluate reductions test #f void
|
||||||
|
#:only-first-answer? #f))))]
|
||||||
[else
|
[else
|
||||||
(time
|
(time
|
||||||
(let ()
|
(let ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user