memory leak, vector vs list vs chunking

2014-10-30 Thread Brian Craft
I have a vector of values which compute large result sets, similar to a vector of lazy seqs. It's a vector because it has to be sorted before the values are evaluated, in order. When evaluating each value in order of the vector, it's important that they are garbage collected, because two won't

Re: Vector and List

2008-12-27 Thread Christophe Grand
janus a écrit : (take 100 (for [x (range 1000) y (range 1000) ( x y)][x y])) The above works, but when I changed [ x y] to (x y) it fails. Could anyone come to my help. (take 100 (for [x (range 1000) y (range 1000) ( x y)] (list x y))) (x y) means call the function x passing y as its

Re: Vector and List

2008-12-27 Thread Emeka
Merci! Janus --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to