bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Performance problems when constructing large(ish) arrays


From: Elias Mårtenson
Subject: Re: [Bug-apl] Performance problems when constructing large(ish) arrays
Date: Wed, 18 Jan 2017 04:37:33 +0800

On 18 January 2017 at 04:10, Juergen Sauermann <address@hidden> wrote:
 
What I do not like about ⎕CSV (actually I am only guessing here because I dont know what it reallly does,
but I assume it is specifically for comma separated lists) is that it is supposedly only works for comma
separated lists. If we have something more general which solves the performance problem of
Z⍪ without only working for specific formats like CSV then I would prefer that.

You make a good point, and in my envisioned function (being an external function, or a built-in one (called ⎕CSV or otherwise)) would accept a left-hand argument, being a format definition telling the function how to parse the CSV data.

You are absolutely correct in that there are many ways to express CSV data, and looking at the flags available in R gives some insight into this. My intention is to build something that can at least handle the most important of these variations. What the left-hand format definition will look like, I have not yet decided, except for one thing: I want to be able to specify a function that will be called that can be responsible for parsing a line. This way it'll be possible to handle any format that is not natively supported.

Regards,
Elias

reply via email to

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