LvArray icon indicating copy to clipboard operation
LvArray copied to clipboard

No-move memcpy

Open corbett5 opened this issue 4 years ago • 0 comments

Definitely since it can avoid a move. I think the best way to do this is have registerTouch allocate in the given space if it didn't already exist and then touch it there. That way all memcpy has to do is replace move( space, true ) with registerTouch( space ). I don't really want to add that to this PR though so I'll create an issue.

Originally posted by @corbett5 in https://github.com/GEOSX/LvArray/pull/231#discussion_r624730404

corbett5 avatar May 02 '21 17:05 corbett5