diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-07-17 16:22:30 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-07-30 20:41:54 -0400 |
commit | 001a949262436cc42d06976f6ba9b48ec8ad607d (patch) | |
tree | 5d56f9804408a2a141c85489bf95dc6f494246e4 /gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc | |
parent | 18488e31d4ad13077990383f7eb0e1ab7655bf23 (diff) |
runtime: remove tag_checker
Deprecated on 3.9:
`tag_checker` used to be meant for cases where you've gotten an unsorted
tag vector (mostly, from `get_tags_in_range`), which you then had to go
through in parallel to your samples, to check which tag applies at what
sample.
For that it sorts the tags; the tags coming from the `get_tags*` functions
are sorted already
The checking pattern (which `chunks_to_symbols` is the last consumer of)
is inefficient: instead of taking the index of the first unprocessed tag
and processing all samples up to that index, a check is performed on
every sample, which includes calls and multiple indirections.
So, since very likely nobody uses this, and because it's a design
anti-pattern, deprecating this on 3.9 and removing it with 3.10.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc index c180116c80..1f39775f81 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/python_bindings.cc @@ -77,7 +77,6 @@ void bind_sync_block(py::module&); void bind_sync_decimator(py::module&); void bind_sync_interpolator(py::module&); void bind_sys_paths(py::module&); -void bind_tag_checker(py::module&); void bind_tagged_stream_block(py::module&); void bind_tags(py::module&); // void bind_thread(py::module&); @@ -178,7 +177,6 @@ PYBIND11_MODULE(gr_python, m) bind_sync_decimator(m); bind_sync_interpolator(m); bind_sys_paths(m); - bind_tag_checker(m); bind_tagged_stream_block(m); bind_tags(m); // // bind_thread(m); |