get_complex_member

3 posts / 0 new
Last post
Offline
Last seen: 4 years 2 months ago
Joined: 04/14/2015
Posts: 2
DDS_DynamicData::get_complex_member() performance

I have written code to traverse dynamic data to collect data (read only) of samples. The code yields the correct results, however, performance can be very slow. In particular, traversing samples with arrays of structures. Running valgrind, 70% of call time is dedicated to get_complex_member().  I have also tried bind_complex_member() which is 40% slower, and is counter to what I expected (eliminating the overhead of copying should be faster.)

Subscribe to RSS - get_complex_member