Skip to content

feat: speed up question and answer internals#1272

Merged
bdraco merged 4 commits into
masterfrom
question_answers
Sep 14, 2023
Merged

feat: speed up question and answer internals#1272
bdraco merged 4 commits into
masterfrom
question_answers

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Sep 14, 2023

Use cythoned classes instead of named tuples since named tuples can't be fully cythonized.

These didn't need to be named tuples because they are never unpacked and always accessed by name anyways

Add some more types in the answer path

Use cythoned classes instead of named tuples
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 14, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/zeroconf/__init__.py 100.00%
src/zeroconf/_dns.py 100.00%
src/zeroconf/_handlers/answers.py 100.00%

📢 Thoughts on this report? Let us know!.

@bdraco bdraco marked this pull request as ready for review September 14, 2023 03:26
@bdraco bdraco merged commit d24722b into master Sep 14, 2023
@bdraco bdraco deleted the question_answers branch September 14, 2023 03:26
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