vchigrin / stakhanov

Distributed caching build system
GNU General Public License v2.0
7 stars 1 forks source link

Use rvalue-refs to avoid copies of FileInfo and FileSet objects. #7

Closed dreamer-dead closed 7 years ago

dreamer-dead commented 7 years ago

This PR should prevent from copying some heavy objects with dynamic allocations. All temporary objects should be moved to its final destination. No behaviour changes expected (aside from decreasing memory footprint and speed-up). PTAL.