summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_strobe_random_impl.cc
diff options
context:
space:
mode:
authorMarcus Müller <mueller@kit.edu>2018-02-20 15:47:12 +0100
committerMarcus Müller <marcus@hostalia.de>2018-02-23 19:06:50 +0100
commit2fc414578985b59c5bfbb15103f3c3677a1c6fdc (patch)
tree082f8be4333be7fa3264fdf09c30d61ce3ec033d /gr-blocks/lib/message_strobe_random_impl.cc
parent4cce1a032a929d72948d54c2b429dc8ebd530a36 (diff)
blocks: don't pmt::mp("string") for every single PDU
Replaced the usage of `#define PDU_PORT_ID pmt::mp("pdus")` – that was the actual way to *enforce* rehashing on every single use. Now, static const member of namespace `gr::blocks::pdu` as `s_pdu_port_id`. Should speed up the PDU blocks a bit. Removes run-time malloc'ing. Good thing.
Diffstat (limited to 'gr-blocks/lib/message_strobe_random_impl.cc')
0 files changed, 0 insertions, 0 deletions