feat: speed up incoming packet processing with a memory view by bdraco · Pull Request #1290 · python-zeroconf/python-zeroconf
Navigation Menu
{{ message }}
python-zeroconf / python-zeroconf Public
- Notifications You must be signed in to change notification settings
- Fork 229
Merged
feat: speed up incoming packet processing with a memory view#1290
feat: speed up incoming packet processing with a memory view#1290
Conversation
Copy link Copy Markdown
Member
bdraco
commented
Nov 4, 2023
bdraco
commented
All the single char conversions can avoid the bytes copy, and since there are a lot of them this is ~ an 8% speed up
All the single char conversions can avoid the bytes copy, and since there are a lot of them this is ~ an 8% speed up
Copy link Copy Markdown
Codecov Report
All modified and coverable lines are covered by tests ✅
| Files | Coverage Δ | |
|---|---|---|
| src/zeroconf/_protocol/incoming.py | 99.01% <100.00%> (+<0.01%) |
⬆️ |
| src/zeroconf/_services/browser.py | 99.22% <ø> (ø) |
... and 1 file with indirect coverage changes
📢 Thoughts on this report? Let us know!.
bdraco added 3 commits
November 4, 2023 16:53
bdraco
marked this pull request as ready for review
bdraco
merged commit
f1f0a25
into
master
bdraco
deleted the
incoming_speed_up
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment