Matthew Brand wrote:
> 1!:1 and 1!:2 are faster than fread, fwrite if you know what the format of
> the file is?
On your own system, I venture your hand-written 1!:-based code
wouldn't be significantly different from what fread/fwrite do once
they have figured out what needs to be done for the platform -- a
miniscule intial step more. Any computational differences should
also pale in this context: I/O time should be dominating anyway.
1!:1 and 1!:2 ARE faster than fread, fwrite if your aim is to make
life difficult in this forum for people running those Other File
Formats and cut'n'pasting your code to debug it for you on their
systems.
Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm