[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call_external for file I/O
- Subject: Re: call_external for file I/O
- From: "Charlie Solomon" <crsolomon(at)west.raytheon.com>
- Date: Mon, 26 Oct 1998 13:20:03 -0800
- Newsgroups: comp.lang.idl-pvwave
- Organization: Hughes Aircraft Company
- References: <email@example.com> <F17HFA.1qB@midway.uchicago.edu> <firstname.lastname@example.org> <3634D893.5A19@bial1.ucsd.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:12523
David Foster wrote ...
>I'm wondering if what you are coming up against is a storage order
>problem, in which the elements of the array are being accessed in
>an order that is not optimal given the order of storage of the
>elements in memory. Ideally the dimension that varies fastest in
>memory should be incremented first.
>We've run up against this problem before, and have written a C
>routine to optimize access to a 3D array in memory. If you're
>interested in checking it out let me know.
Thank you, yes, I would like to take a look at that.
>You also might want to look into Eric Korpela's VARRAY utility
>that allows you to have memory mapped files:
VARRAY looks like a good implementation of what our map_file does,
and this site is a very good reference, thank you. I want to work on
doing something like this with WindowsNT. Eric's page says that it
should be straightforward to convert VARRAY to use Win32's...we'll
Thanks, Charlie Solomon
Raytheon Systems Co., El Segundo, CA