On Mon, Apr 6, 2009 at 11:59 AM, Matthew Brand <[email protected]> wrote: > I am not an expert on VAS and page swapping but I don't think the OS > knows how the memory block is split up by the application to make the > array or how it is being processed/accessed.
As a general rule (not always true, but often enough), J accesses memory sequentially. In the exceptional cases, J's "blocks" usually are not sized to match OS blocks. You might try writing a program such that J's arrays' memory footprints match OS block sizes, and see if you can get any noticeable performance advantage from this approach. I do not know enough about J's memory model to say for certain that J's arrays would be block aligned, but perhaps some work with J's "cd" (15!:) mechanisms can be useful here. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
