Re: naive euler43 blows heap, why?

2009-03-09 Thread Tuomas J. Lukka
You are "holding on to the head". Try replacing "def perms" with "defn perms []" and calling it when you start using it. That way the permutations are let go as soon as they come. I noticed this with some scripts that go through large files: it's really important to create lazy longs sequences jus

Re: categorizing forms

2009-03-09 Thread Tuomas J. Lukka
In fact, how about adding tags to the actual docstrings of the functions? That way, this could be automatized in the future. Tuomas On Mar 9, 8:03 am, "Mark H." wrote: > On Mar 8, 5:30 pm, Mark Volkmann wrote: > > > I made an attempt at categorizing all special forms, functions and > > mac