Code Comments
Programming Forum and web based access to our favorite programming groups.Hi I am working on CSV files and i need to do a search on lagre amount csv data files. Currently i am using GAWK for doing the same. But still i am not satisfied with the performance. Could any body suggest what would be better option for my scenario. Thanks Deep
Post Follow-up to this messagesubject.fun@gmail.com schreef: > Hi > I am working on CSV files and i need to do a search on lagre amount > csv data files. Currently i am using GAWK for doing the same. But > still i am not satisfied with the performance. > Could any body suggest what would be better option for my scenario. > Thanks > Deep tell us what/how you are doing thing, and what you want to be done than someone reding this might tell you what you want. -- Luuk
Post Follow-up to this messageOn Thu, 20 Mar 2008 12:11:57 -0700 (PDT), subject.fun@gmail.com wrote: >Hi >I am working on CSV files and i need to do a search on lagre amount >csv data files. Currently i am using GAWK for doing the same. But >still i am not satisfied with the performance. >Could any body suggest what would be better option for my scenario. >Thanks >Deep grep, with regular expressions. -- ( Kees ) c[_] Sense is not cognition but sensation. (Douglas Robinson) (#324)
Post Follow-up to this messagesubject.fun@gmail.com writes: > I am working on CSV files and i need to do a search on lagre amount > csv data files. Currently i am using GAWK for doing the same. But > still i am not satisfied with the performance. > Could any body suggest what would be better option for my scenario. Is the loss of performance in the data processing or in the file accessing? If the files are large it may take a long time for the sequential access to get to the desired points, in which case optimising the data processing won't change a thing; you would instead need to make yourself an index/lookup method of accessing, either by splitting the files up into smaller files or by sing to the right spot in the file (you can preprocess with dd to do this if you want to keep using awk). Cheers, - Joel
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.