Skip to content

feat: add example for sending multiple numpy arrays efficiently#1298

Merged
haixuanTao merged 1 commit intodora-rs:mainfrom
guptapratykshh:fix-numpy-array-message-1174
Jan 14, 2026
Merged

feat: add example for sending multiple numpy arrays efficiently#1298
haixuanTao merged 1 commit intodora-rs:mainfrom
guptapratykshh:fix-numpy-array-message-1174

Conversation

@guptapratykshh
Copy link
Copy Markdown
Contributor

#1174

I have added new example to assist anyone who has trouble with performance when sending multiple numpy arrays, such as images, in one message. Instead of using the slower tolist() method, this example shows how to use ravel() for near zero-copy transfer. This method makes things much faster for real-time applications.

@guptapratykshh
Copy link
Copy Markdown
Contributor Author

ping @haixuanTao @phil-opp

Copy link
Copy Markdown
Collaborator

@haixuanTao haixuanTao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@haixuanTao haixuanTao merged commit 207f3f3 into dora-rs:main Jan 14, 2026
28 checks passed
phil-opp added a commit that referenced this pull request Jan 14, 2026
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.

2 participants