[]MAP and []XT any advice ?

General APL language issues

[]MAP and []XT any advice ?

Postby giangiquario on Thu Jul 19, 2012 10:02 am

I have some doubts about []MAP and []XT
My goal is to park -for a subsequent possible reuse- many temporary numeric arrays (mean []SIZE is 0.5M) obtained during the processing of a long procedure, . I envisaged to exploit mapped files or extenal variables

Is []XT obsolete with respect to []MAP ? or vice versa ?

Are the files prepared by []MAP and []XT strictly related to the Dyalog version?
User avatar
giangiquario
 
Posts: 46
Joined: Thu Nov 26, 2009 8:55 am
Location: Milano, Italia

Re: []MAP and []XT any advice ?

Postby JohnS|Dyalog on Thu Jul 19, 2012 1:00 pm

If it's "many temporary numeric arrays" and the "subsequent re-use" is from within Dyalog, I could consider using a standard component file: ⎕FAPPEND / ⎕FREAD / ...

If the subsequent re-use is from a non-APL program, then I'd suggest using the dyadic form of ⎕MAP.

I don't think there is any merit in using ⎕XT.

Regarding "Dyalog version": dyadic ⎕MAP files are just raw data on disc and are thus completely version-independent. In general, a component file written by one Dyalog version may not be readable by an earlier version.
JohnS|Dyalog
 


Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest