Thanks for the encouraging reply! By the way, I was part way through writing my own code for external sorting which I don't actually use yet except from some test executable (joincol.hs). I'm very glad to see that there is already a library that does this though, so in my next version I will dump the custom code and use the external sort package. Also I will look into making the switch to ByteStrings.
Thanks Keith On Sun, May 17, 2009 at 11:53 AM, Eugene Kirpichov <[email protected]> wrote: > By the way: As I see from the sources, your code uses external sort? > But using String's much defeats the purpose of it, anyway, because > their performance is so bad that if you feed your program a file that > is larger than can be sorted in memory, sorting it externally using > String's will anyway take much more time then you are likely to be > comfortable waiting. You should consider switching to ByteString's, > and beware memory leaks. > > 2009/5/17 Keith Sheppard <[email protected]>: >> Hello Haskell Cafe >> >> I have released the first version of TxtSushi which is a collection of >> command line utils (written in haskell of course) for processing >> tab-delimited and CSV files. It includes a util for doing SQL SELECTs >> on flat files. This is my first haskell project and feedback of all >> kinds is appreciated. >> >> Home Page: http://www.keithsheppard.name/txt-sushi >> Darcs Repository: http://patch-tag.com/r/txt-sushi/home >> Issue Tracking: http://code.google.com/p/txt-sushi >> >> I would like to say thanks to the haskell-beginners contributors, the >> author of "Learn you a Haskell" and the author of the parsec library >> all of which were very helpful. >> >> Regards >> Keith >> _______________________________________________ >> Haskell-Cafe mailing list >> [email protected] >> http://www.haskell.org/mailman/listinfo/haskell-cafe >> > > > > -- > Eugene Kirpichov > Web IR developer, market.yandex.ru > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
