summaryrefslogtreecommitdiff
path: root/docs/doxygen/other/pmt.dox
diff options
context:
space:
mode:
authorBrandon P. Enochs <brandon.enochs@nrl.navy.mil>2017-07-14 15:53:32 -0400
committerBrandon P. Enochs <brandon.enochs@nrl.navy.mil>2017-07-14 15:53:32 -0400
commitbb00e5eb2576a7e57ab6211dd40bcd11a6d3967f (patch)
treea5d690ae791e0a13fc31a1ccd114947fe852e314 /docs/doxygen/other/pmt.dox
parent11f9915a1adb133813a1b959f24dda547a977001 (diff)
fix: fixed a performance bug in buffer::get_tags_in_range.
buffer::get_tags_in_range called v.resize(0) instead of v.clear() to clear out the input vector. This causes needless memory allocation of the default value for the second argument to resize. In applications that make heavy use of tags, this can cause significant performance problems as get_tags_in_range performs an extra allocation and deallocation.
Diffstat (limited to 'docs/doxygen/other/pmt.dox')
0 files changed, 0 insertions, 0 deletions