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

feat: speed up ServiceInfo with a cython pxd #1264

Merged
merged 6 commits into from Sep 10, 2023
Merged

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Sep 10, 2023

Its a shame that dns_text, dns_pointer etc take kwargs as we could make them cdefs as they are really what gets called the most here when using Homekit. We could change the function signatures but I've already found code in the while calling it so it would be a breaking change for them.

@codecov
Copy link

codecov bot commented Sep 10, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/zeroconf/__init__.py 100.00%
src/zeroconf/_engine.py 100.00%
src/zeroconf/_handlers/record_manager.py 100.00%
src/zeroconf/_record_update.py 100.00%
src/zeroconf/_services/browser.py 100.00%
src/zeroconf/_services/info.py 100.00%
src/zeroconf/_updates.py 100.00%

📢 Thoughts on this report? Let us know!.

@bdraco bdraco marked this pull request as ready for review September 10, 2023 23:03
@bdraco bdraco merged commit 7ca690a into master Sep 10, 2023
34 checks passed
@bdraco bdraco deleted the cython_service_info branch September 10, 2023 23:03
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.

None yet

1 participant