splinter-build / splinter

A series of patches (one per branch) on top of the Ninja project's codebase. Updated periodically.
Apache License 2.0
6 stars 1 forks source link

push_back -> emplace_back sweep #1

Closed shahzadlone closed 5 years ago

shahzadlone commented 5 years ago

Where the performance can be improved by using emplace_back over push_back we should do it.

Here is a handy video from Scott Meyers: https://www.youtube.com/watch?v=smqT9Io_bKo Start from 21mins if in rush otherwise entire video is very helpful!

jonesmz commented 5 years ago

Done. See 8-emplace_back