N8BWert / ncomm

Node-Based Robotics Framework Written in Rust
MIT License
65 stars 1 forks source link

Use Arc<Data> for Publishers to Prevent Cloning Data #21

Closed N8BWert closed 2 months ago

N8BWert commented 2 months ago

I realized I could speed up LocalPublishers even further by sharing a Heap value with Arc. I might get around to this in the future for clients and servers and update clients and servers but I'm not completely convinced at the moment that they are going to be highly used. In addition, I envision requests and responses to be significantly smaller messages that might need to be modified whereas I see publishers as publishing huge messages.