Files
sirit/src
Lioncash f6f5913b5f op: Use std::vector's insert member function within vector variant of Add()
While looping here does work fine, it's mildly inefficient, particularly
if the number of members being added is large, because it can result in
multiple allocations over the period of the insertion, depending on how
much extra memory push_back may allocate for successive elements.

Instead, we can just tell the std::vector that we want to slap the whole
contained sequence at the back of it with insert, which lets it allocate
the whole memory block in one attempt.
2019-03-14 04:31:14 -03:00
..
2018-10-23 04:51:34 -03:00
2018-11-16 04:10:10 -03:00
2019-03-11 03:26:21 -03:00
2019-03-11 03:26:21 -03:00
2019-03-11 03:26:21 -03:00