Created
July 17, 2014 19:16
-
-
Save deeglaze/40ec1ee101ee7f316180 to your computer and use it in GitHub Desktop.
This destroys abstract garbage collection.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (flatten x) | |
(cond | |
((pair? x) | |
(append (flatten (car x)) (flatten (cdr x)))) | |
((null? x) x) | |
(else (list x)))) | |
(flatten '((1 2) (((3 4 5))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my implementation of an abstract GCing pushdown Scheme analysis, this times out after 30 minutes, using close to 2GiB of memory.