[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Parsing standard CVS data by gawk

From: Andrew J. Schorr
Subject: Re: [bug-gawk] Parsing standard CVS data by gawk
Date: Tue, 1 Sep 2015 08:22:49 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jul 08, 2015 at 12:17:17AM +0300, Jarno Suni wrote:
> For some use cases it is not necessary to have all data in memory in
> one time. This might not be optimal implementation for such a case. I
> also wrote an implementation that reads input line by line.

I think the normal gawk usage pattern is to handle one record at a time.
Reading the entire file into memory is not scalable, so cannot be held
out as a general solution to the problem. My sense is that the proper
solution is to write a CSV parser extension in C that handles all the corner
cases properly. We are seeking a volunteer to implement this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]