Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

about GAWK performance
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

Report this thread to moderator Post Follow-up to this message
Old Post
subject.fun@gmail.com
03-20-08 11:59 PM


Re: about GAWK performance
subject.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

Report this thread to moderator Post Follow-up to this message
Old Post
Luuk
03-20-08 11:59 PM


Re: about GAWK performance
On 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)

Report this thread to moderator Post Follow-up to this message
Old Post
Kees Nuyt
03-20-08 11:59 PM


Re: about GAWK performance
subject.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

Report this thread to moderator Post Follow-up to this message
Old Post
Joel Reicher
03-23-08 09:00 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

AWK archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:46 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.