Page 1 of 1

[]MAP and []XT any advice ?

Posted: Thu Jul 19, 2012 10:02 am
by giangiquario
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?

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

Posted: Thu Jul 19, 2012 1:00 pm
by JohnS|Dyalog
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.