Yes, the move semantic is relatively faster than copying. You can always benchmark it if you are not sure. For example https://quick-bench.com/q/aJTHVE5uIXgY2cvG4LJYr28tXKY