Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

N8BWert
Copy link
Owner

@N8BWert N8BWert commented Sep 12, 2024

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.

@N8BWert N8BWert merged commit 8dcbbd1 into main Sep 12, 2024
6 checks passed
@N8BWert N8BWert deleted the arc-for-publishers branch September 12, 2024 00:12
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