From: "Jan E." Date: 2012-04-19T07:19:57+09:00 Subject: Re: Converting CSV Robert Klemme wrote in post #1057261: > If the file is large this can easily break because you need to read > the whole thing into memory. I don't expect the CSVs to be *that* big. But sure, if we're talking about hundreds of millions of entries here, you'll have to read the file in small portions. > I'd also rather use the proper tool for > the job instead of cooking something with regexp. Well, that's probably a question of personal preferences. I don't think it's necessary to load a complete library for every tiny task that comes around. I mean: If I want to do some simple matrix calculations for example, I don't really need a full 100 MB algebra library. -- Posted via http://www.ruby-forum.com/.