diff options
author | Marcus Müller <mueller@kit.edu> | 2018-02-20 11:33:33 +0100 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-02-23 19:06:50 +0100 |
commit | 28401b7a01d9e6f25c6057f7b9dc07c8e568ff60 (patch) | |
tree | 0b38941011f873953c15987688460ef1e8e98c49 /gr-qtgui/lib/edit_box_msg_impl.cc | |
parent | 97f0d1cecf4a8cb82e8e16e4dfcac0589c5b56c7 (diff) |
zeromq: remove unnecessary call to pmt::intern at runtime
typical usage:
message_port_pub(pmt::mp("out_port"), …)
which is bad, as it implies hashing of a string, allocation of memory,
deallocation, finding the hashed string in the table of interned strings
and returning a unique pointer (which for reasons of PMT awesomeness
isn't even unique) to the interned port name.
Replacing all these port name ad hoc ::mp() calls by reusing one,
private, port name member.
Diffstat (limited to 'gr-qtgui/lib/edit_box_msg_impl.cc')
0 files changed, 0 insertions, 0 deletions