diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-07-16 19:22:21 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-07-27 11:21:52 -0400 |
commit | f6b3295ae29e3ee3c2c8fc3c6738ee4561ca194b (patch) | |
tree | 31b557f0cdc3990deb104a33291be48606915301 /gr-digital/python/digital | |
parent | 52a9d49acef2ec124d52e7e223dc16e767af92c7 (diff) |
digital/chunks to symbols: be less inefficient
The block formerly took the tags from get_tags_in_range (which are
sorted), gave them to tag_checker, which sorted them, and then went
through every input sample, checking its index against the next tag.
Removed the tag_checker; that saves us a sorting of a sorted vector.
The other optimization is to not dispatch any tag encountered to the own
message handler; instead, the handler is called directly.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-digital/python/digital')
-rw-r--r-- | gr-digital/python/digital/bindings/chunks_to_symbols_python.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-digital/python/digital/bindings/chunks_to_symbols_python.cc b/gr-digital/python/digital/bindings/chunks_to_symbols_python.cc index 284e1043a7..3586b33e08 100644 --- a/gr-digital/python/digital/bindings/chunks_to_symbols_python.cc +++ b/gr-digital/python/digital/bindings/chunks_to_symbols_python.cc @@ -14,7 +14,7 @@ /* BINDTOOL_GEN_AUTOMATIC(0) */ /* BINDTOOL_USE_PYGCCXML(0) */ /* BINDTOOL_HEADER_FILE(chunks_to_symbols.h) */ -/* BINDTOOL_HEADER_FILE_HASH(92d3e85da4622d93c34d8226cbaaecf0) */ +/* BINDTOOL_HEADER_FILE_HASH(a7e4da5deb77580b19fd40a649ee11a8) */ /***********************************************************************************/ #include <pybind11/complex.h> |