On Sat, 29 Aug 2020, Allin Cottrell wrote:
On Sat, 29 Aug 2020, Riccardo (Jack) Lucchetti wrote:
> On Sat, 29 Aug 2020, Riccardo (Jack) Lucchetti wrote:
>
>>> It's a pitty that people did not consider the gretl project. I am
>>> wondering whether "we" may re-run the same experiments for gretl
for
>>> getting an idea how gretl would position.
>>>
https://www.modelsandrisk.org/appendix/speed_2020/
>>
>> I think we should prepare hansl version of the little code snippets that
>> are on the webpage you linked.
>
> Sorry for replying to myself: I now see that one of the tests is based on
> reading a gzipped csv file. At present, I don't think we can do such a
> thing, although it shouldn't be difficult to add IMO. Would it be
> worthwhile?
Maybe so. A bit of a pain to revise all FILE-related function calls in
csvdata.c to use the gzFile API, but certainly feasible.
There's now a csv_gz branch in git, with support for reading
*.csv.gz, and also writing gzipped CSV if the output file has
extension .csv.gz. On the writing side I guess we need to decide if
the --gzipped option should be supported for CSV, and if so what
exactly to do with the filename: add ".gz" is it's not already
there?
I haven't made the changes in master at this point just in case
any problem emerges with reading non-gzipped CSV (though I think
we're OK in that regard).
Allin