feat: speed up parsing NSEC records by bdraco · Pull Request #1169 · python-zeroconf/python-zeroconf

Conversation

@bdraco

Benchmark before
Parsing 100000 incoming messages took 3.846316208015196 seconds

Benchmark after
Parsing 100000 incoming messages took 2.7343544159957673 seconds

Almost a 39% improvement

@codecov

@bdraco bdraco marked this pull request as ready for review

May 3, 2023 20:05

@bdraco bdraco deleted the nsec_records branch

May 3, 2023 20:05

1 participant

@bdraco