AliceVision
AliceVision copied to clipboard
Avoid unnecessary string copies
This is a simple cleanup PR that removes accidental copies of strings where needed. The performance impact is trivial, but it's still worth to consistently use pass-by-reference lest some function does end up in a critical path.
I added more cleanups which I didn't notice the first time.
Thanks for the PR! We have a large PR on depth maps here: https://github.com/alicevision/AliceVision/pull/1163 I would like to merge it first, to avoid new merge conflicts.
Looking at it again, there should not be too much conflicts.