DataReader - use core::xtypes::DynamicData or topic::Topic<> ?
Hi,
Regarding performance - what's the better way: Use core::xtypes::DynamicData or topic::Topic<> ? Is maybe topic::Topic<> internally handled like a dynamic type?
No, topic::Topic<Foo> does not use dynamic data internally. It requires code-generation for type Foo. The performance of serialization and de-serialization of the data using topic::Topic<Foo> is significantly better than when using dynamic data.
Hi,
No, topic::Topic<Foo> does not use dynamic data internally. It requires code-generation for type
Foo
. The performance of serialization and de-serialization of the data using topic::Topic<Foo> is significantly better than when using dynamic data.Gerardo