diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-06-19 06:16:37 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-06-19 14:35:22 +0000 |
commit | 0876ef899e6f2ce3d2cd999cce62da77f282dcd0 (patch) | |
tree | 8fccd9c1a50b30952b1908787d79a75552409483 /include/osmocom/vty/logging.h | |
parent | 1ac56fb2928b256363905202adeb554334b018b8 (diff) |
core/conv/conv_acc.c: use static allocation for trellis
Allocation of a new memory is an expensive operation, which
takes place when it's initially unknown, how much memory will
we need, or in order to decrease total memory usage.
The trellis struct wasn't require dynamic allocation itself,
so let's allocate one statically inside the vdecoder structure.
Change-Id: Ib8e448823ca5548a05a45824b0b1c06743dfe5a4
Diffstat (limited to 'include/osmocom/vty/logging.h')
0 files changed, 0 insertions, 0 deletions