Reduces the memory used by the randomized tests
This commit is contained in:
parent
5d1b78384d
commit
fe0525b7bb
|
@ -106,7 +106,10 @@
|
||||||
(parameterize ([max-normalization-steps 1000])
|
(parameterize ([max-normalization-steps 1000])
|
||||||
(SL-eval (term (∅ / ,expr))))))
|
(SL-eval (term (∅ / ,expr))))))
|
||||||
(define TL-result
|
(define TL-result
|
||||||
(TL-eval (term (∅ / (translate ,expr)))))
|
(dynamic-wind
|
||||||
|
(λ () (set-cache-size! 100))
|
||||||
|
(λ () (TL-eval (term (∅ / (translate ,expr)))))
|
||||||
|
(λ () (set-cache-size! 350))))
|
||||||
(or (equal? SL-result TL-result)
|
(or (equal? SL-result TL-result)
|
||||||
(compares-incomparable-keys? expr))))
|
(compares-incomparable-keys? expr))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user