News for hackers. Stuff that matters.
Re:Don’t blindly prefer emplace_back to push_back by eru on Thursday March 04, 2021 @08:06AM (#26341829)
Similarly, some data structure and algorithmic choices that don't make much sense when operating in RAM, can suddenly become appropriate in different environments.

Eg when working on hard disks (eg think a file system or database with raw storage access). Or if you are working in a medium were you can only write once, and can't change what's already written, etc.

There are no comments on this comment yet.