feat: speed up decoding labels from incoming data (#1291) · python-zeroconf/python-zeroconf@c37ead4

Original file line numberDiff line numberDiff line change

@@ -87,7 +87,7 @@ cdef class DNSIncoming:

8787

link_py_int=object,

8888

linked_labels=cython.list

8989

)

90-

cdef _decode_labels_at_offset(self, unsigned int off, cython.list labels, cython.set seen_pointers)

90+

cdef cython.uint _decode_labels_at_offset(self, unsigned int off, cython.list labels, cython.set seen_pointers)

9191
9292

cdef _read_header(self)

9393