Closed cbachhuber closed 4 years ago
The advantage of this is that we avoid repeated calls of emplace_back, which required reallocation now and then (slow). Currently, we do only one allocation at initialization and then, we assign values.
emplace_back
The advantage of this is that we avoid repeated calls of
emplace_back
, which required reallocation now and then (slow). Currently, we do only one allocation at initialization and then, we assign values.