Skip to content
Snippets Groups Projects
Commit 762a0281 authored by Felix Weiglhofer's avatar Felix Weiglhofer Committed by Dominik Smith
Browse files

UnpackSts: Reserve memory in output vector.

parent fb1662f4
No related branches found
No related tags found
1 merge request!1219algo: Unpack TOF and STS in parallel.
......@@ -47,6 +47,9 @@ namespace cbm::algo
return result;
}
const u32 maxDigis = numMessages - 2; // -2 for the TS_MSB and EPOCH messages
result.first.reserve(maxDigis);
// --- Interpret MS content as sequence of SMX messages
auto message = reinterpret_cast<const stsxyter::Message*>(msContent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment