btw, start simple and just see if you can scan the lines without doing anything in particular. Then take some sub sequence: (take 100 my-line-seq) Play in the repl to start building up the data you want. See what you get and work from there.
D On Sunday, 21 October 2012 19:05:42 UTC+11, Dave Sann wrote: > > Look at: > > http://clojuredocs.org/clojure_core/clojure.core/line-seq to get a lazy > sequence of lines of the file. > > I don't think that there is any need to sort here. (I think sorting wont > help anyway because some lines are seem to be only identifiable based on > the thread id in the current sequence) > > Process each line and build up the result data structure as you go. > http://clojuredocs.org/clojure_core/clojure.core/assoc-in may help you > for a nested map. > Do not hold on to the head of the line seq and you should be able to > process this without too much problem. > > (if the data structure you build up is itself too large, you may need to > write out result data as you see each ReqEnd. In this case, dissoc that > record so it can be garbage collected) > > Dave > > > -- 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