John,

Yes, it is primarily due to us being more comfortable with rectangular 
arrays rather than associative arrays. You may (or not) observe 
performance difference. Also associative arrays do not provide 
multi-dimensional indexing. If you want your target locale grid to be 
multi-dimensional, you will need to store tuples of indices in your 
associative array.

Vassily

On 03/13/15 09:34, John MacFrenz wrote:
> Hi,
>
> Just a (hopefully) quick question: I noticed following comment in 
> BlockDist.chpl:
>
> ..... I still think the locArr/locDoms arrays should be associative over 
> locale values.
>
> What is the reason this is not implemented yet? I'd like to do that change in 
> my distribution since it would make things much easier. However I'm afraid it 
> would cause significant decrease in performance. I've also got an impression 
> that associative arrays are much less developed than rectangular arrays, is 
> that right?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to