diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2016-10-29 00:00:57 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-24 17:12:49 +0000 |
commit | 6431adde78638db7dac0717f74de92ef8b491d73 (patch) | |
tree | 3f0b2d14c18161fcb4686003adff8a16df18aa75 /src/rbtree.c | |
parent | c014f606d055bb0ab09b6b9128078cb7a4e06c4c (diff) |
utils/conv_gen.py: use shared tables if possible
This change introduces the memory usage optimization, mentioned
in d2d9760c08f35a231d32f0ebeb73b2927e5573b3. The aim is to make
code generator able to detect, whether the same tables are used
by several convolutional code definitions, and prevent one from
writing these tables multiple times.
For now, the detection process isn't fully automatic, so all
shared polynomials should be placed inside the 'shared_polys'
dictionary, for example:
shared_polys = {
"xcch" : [
( G0, 1 ),
( G1, 1 ),
],
"mcs" : [
( G4, 1 ),
( G7, 1 ),
( G5, 1 ),
],
}
Change-Id: I84760f5cdfdaece376b801d2e6cb2954ee875a3b
Diffstat (limited to 'src/rbtree.c')
0 files changed, 0 insertions, 0 deletions