Skip to content

Optimize plain type sequences in FastRTPS typesupport - #142

Draft
mjcarroll wants to merge 3 commits into
ros2:rollingfrom
mjcarroll:pr/pod-sequence-fast-path
Draft

Optimize plain type sequences in FastRTPS typesupport#142
mjcarroll wants to merge 3 commits into
ros2:rollingfrom
mjcarroll:pr/pod-sequence-fast-path

Conversation

@mjcarroll

@mjcarroll mjcarroll commented Mar 5, 2026

Copy link
Copy Markdown
Member

This PR adds a POD sequence bulk CDR fast path using serialize_array. It includes a static const bool is_plain check for zero runtime cost. Significantly improves performance for large POD arrays (e.g., PoseArray).

Ref: https://openrobotics.zulipchat.com/#narrow/channel/526027-ROS-General/topic/Lyrical.20default.20RMW

Michael Carroll added 3 commits March 5, 2026 07:26
- Added POD sequence bulk CDR fast path using serialize_array
- Added static const bool is_plain check for zero runtime cost
- Applied to serialize, deserialize, and get_serialized_size
- Added POD sequence bulk CDR fast path using serialize_array
- Added static const bool is_plain check for zero runtime cost
- Applied to serialize, deserialize, and get_serialized_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant