From: Xavier Noria Date: 2008-04-29T01:11:03+09:00 Subject: Re: Transpose a large file(>2GB) On Apr 28, 2008, at 18:02 , Roger Pack wrote: > Save pieces of it to disk. Since seeking and inserting naively in text files is expensive I wondered whether it could pay to use an intermediate specialized software like DBM or whatever to build some structure from a line- oriented reading of the input file, and then use it to output the transposition in a line-oriented way. Just off the top of my head without measuring, perhaps it is just much worse.