Reduce copies when reading a command from a slice #17

Open
opened 2025-07-12 13:06:31 +02:00 by vinzenz · 0 comments
Owner

Currently, you have to copy into a Vec for creating the Packet, which may be copied again. If parsing was slice-based, the Vec based constructors could be easily implemented on top of that.

Currently, you have to copy into a Vec for creating the Packet, which may be copied again. If parsing was slice-based, the Vec based constructors could be easily implemented on top of that.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
servicepoint/servicepoint#17
No description provided.