Alex Rufon wrote:
> I agree with Skip's idea but I would like to suggest including boxed arrays 
> or boxed strings in the test data set.
>
> I work exclusively with heterogeneous boxed arrays coming in from SQL Server. 
> I actually don't process pure numeric information. One sample computation is 
> matching a list of order by size against a list of consumption by size. 
Skip replies:

I think that if Alex's problem is split across multiple processors, his 
matching process will entail moving some data between the processors 
during execution. I was trying to avoid that issue in my pure numerical 
example. My thought was, if we test a process that doesn't require any 
data movement other than the initial distribution and final assembly, 
and then find that parallel execution of that process doesn't provide 
all that much efficiency gain, then it is unlikely that processes that 
do require data movement between processors would be executed more 
efficiently in parallel.

Alex's problem has the advantage of a practical usage, so it could be 
added in the test suite as a second test example of parallel processing. 
However, I would expect his problem to be less amenable to distributing 
the processor load than the pure in-place computational problem, due to 
the requirement to move data between processors during execution.

Skip Cave
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to