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?
[]MAP and []XT any advice ?
- giangiquario
- Posts: 46
- Joined: Thu Nov 26, 2009 8:55 am
- Location: Milano, Italia
Re: []MAP and []XT any advice ?
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.
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.