feat: optimize equality checks for DNS records by bdraco · Pull Request #1120 · python-zeroconf/python-zeroconf

bdraco

@bdraco

By moving some of the equality checking to `cdef`s we can avoid
the generic python accessors and access the properties directly
on the object. This can only be done once it passes the `isinstance`
check for the same type.

@bdraco

bdraco

@bdraco

@bdraco

@bdraco bdraco marked this pull request as ready for review

December 22, 2022 02:49

@bdraco bdraco deleted the dns_cache_eq_opt branch

December 22, 2022 02:49