Giter VIP home page Giter VIP logo

Comments (3)

emersonknapp avatar emersonknapp commented on July 30, 2024 1

Best I can tell, this still exists and now refers to https://github.com/ros2/rosbag2/blob/master/rosbag2_cpp/src/rosbag2_cpp/readers/sequential_reader.cpp#L159

It seems to me that this simple check for nullptr is not of interest performance-wise, there are so many other things going on, that I am inclined to close this issue. @Karsten1987 if you think it's a problem, please reopen.

from rosbag2.

anhosi avatar anhosi commented on July 30, 2024

I am not yet convinced that this line really poses a performance issue. Also our rather crude performance tests give no such indication (but they might not be sensitive enough).
More importantly having a single converter will no longer suffice with when #52 is implemented. Then we most likely will have a converter for each topic and every message will have to be dispatched to the converter for the corresponding topic.

We could think about having a "identity converter" for topics that require no conversion. Doing so before #52 is not necessary IMHO.

from rosbag2.

emersonknapp avatar emersonknapp commented on July 30, 2024

We need to benchmark this to find out if it's necessary to change

from rosbag2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.