Did you consider and/or look at using mapped files to share the data between C and J?
2006/12/6, Devon McCormick <[EMAIL PROTECTED]>:
I didn't do the C/J work - I wrote a full, stand-alone C program to duplicate what my J code was doing. Originally I thought I would call C to handle only the CPU-intensive part of what I was doing but I realized that loading the large array into memory takes a lot of time. Unless there's some way to make a DLL stay resident in memory (with the large array), it didn't make sense to call C to do the one step, so I added the few other steps to fully replicate the J code.
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
