You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously when creating a copy of an array using createSymEntry we were always creating the array first and then assigning, which meant that the arrays were going to be default initializing, resulting in a performance hit.
Adding an overload of makeDistArray that takes an array and does not default initialize in that case resolves this performance hit prior to Chapel 1.31, but since there is no way to avoid default initialization, this is not fixed in 1.32 just yet, but we are avoiding an extra domain creation, which will improve performance slightly in 1.32.
The text was updated successfully, but these errors were encountered:
Previously when creating a copy of an array using
createSymEntry
we were always creating the array first and then assigning, which meant that the arrays were going to be default initializing, resulting in a performance hit.Adding an overload of
makeDistArray
that takes an array and does not default initialize in that case resolves this performance hit prior to Chapel 1.31, but since there is no way to avoid default initialization, this is not fixed in 1.32 just yet, but we are avoiding an extra domain creation, which will improve performance slightly in 1.32.The text was updated successfully, but these errors were encountered: