>> the entire sequence being in memory. However, if you retain the head >> of the sequence elsewhere, you will see the same effect. > > I don't think my function retains the head? Please correct me if I am > wrong.
Not that I can see but I don't have the full context. I tried reproducing just now and I was not able to trigger any memory use beyond what I expected. Do you have a self-contained fully working example that you can point to (preferably with your actual data files + code, but otherwise just the code)? -- / Peter Schuller -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en