ZhenshengLee / ros2_shm_msgs

ROS2 shm_msg based zero-copy for image and pointcloud.
128 stars 22 forks source link

[CLEAN] use memcpy to replace std::copy to get a better performance. #6

Open ZhenshengLee opened 2 years ago

ZhenshengLee commented 2 years ago

Is it reasonable?

https://stackoverflow.com/questions/4707012/is-it-better-to-use-stdmemcpy-or-stdcopy-in-terms-to-performance

how about std::move

is there something like memmove?