Hi,
As we know rosbag can be quite big. In many real world scenarios a considerable space is used by strings, since ros message use extensively names as identifiers (example: name of joint or frame_id).
LZ4 compression does a very good job in term of speed vs size reduction.
I wonder if raw rosbag might use hashed string to reduce the serialize size? It can be done quite easily, I think, using a library like this one
https://github.com/foonathan/string_id
What do you think?
If the community consider this upgrade useful, I can try implementing it myself :smiley: and do a pull request.
Davide
---
[Visit Topic](
https://discourse.ros.org/t/smaller-rosbags-with-hashed-strings/942/1) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>