In J you can map a file to a noun using the jmf facility.
Henry Rich
On 9/24/2020 1:25 PM, 'Zhihao Yuan' via Source wrote:
On Thu, Sep 24, 2020 at 12:16 PM 'Pascal Jasmin' via Source <
[email protected]> wrote:
The source of the bytes can still be files. Just a separate step. As a
library, both options can be available.
Two-step construction to get J objects would
make the facility unable to use for us, in terms
of performance and memory cost. There is
no existing npy reader and write that allows
you operating the npy binary content in
strings (you can use a memory file like
StringIO, though).
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm