16772, “bradcray”, “Should ‘.localSubdomain’ on a distributed sparse domain return a ref to the local domain?”, “2020-11-21T02:20:59Z”
As an advanced Chapel programmer, while working with distributed sparse domains, I found myself wanting to do operations on its local sparse domain independently of the global whole. I was thinking that I could do this through the .localSubdomain()
routine, but since that currently returns a const
, it only allowed me to do read-only operations on my local data rather than modifying it. Should we consider relaxing that, or is that too dangerous?