Skip to content

Comments

Performance improvement by fixing python loop over bytes#2824

Open
Hollyqui wants to merge 2 commits intomozilla:mainfrom
Hollyqui:patch-1
Open

Performance improvement by fixing python loop over bytes#2824
Hollyqui wants to merge 2 commits intomozilla:mainfrom
Hollyqui:patch-1

Conversation

@Hollyqui
Copy link

Improving performance significantly by not looping over bytes individually but just allocating buffer directly. For detailed description see here: n0-computer/iroh-ffi#229, I noticed this when working with iroh where the loop reduces transfer speeds significantly.

Improving performance significantly by not looping over bytes individually but just allocating buffer directly.
@Hollyqui Hollyqui requested a review from a team as a code owner February 16, 2026 10:22
@Hollyqui Hollyqui requested review from mhammond and removed request for a team February 16, 2026 10:22
Copy link
Member

@mhammond mhammond left a comment

Choose a reason for hiding this comment

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

this seems great, thanks!

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