Pre allocate some vectors members in the scheduler.

This commit is contained in:
faluco 2021-04-13 17:35:23 +02:00 committed by Francisco Paisana
parent daad20c9d4
commit 9b634218be
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ void sf_cch_allocator::init(const sched_cell_params_t& cell_params_)
{
cc_cfg = &cell_params_;
pucch_cfg_common = cc_cfg->pucch_cfg_common;
dci_record_list.reserve(16);
last_dci_dfs.reserve(16);
temp_dci_dfs.reserve(16);
}
void sf_cch_allocator::new_tti(tti_point tti_rx_)