keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
102 stars 39 forks source link

zeroconf: use min heap for timers #196

Closed oysteintveit-nordicsemi closed 7 months ago

oysteintveit-nordicsemi commented 7 months ago

Small improvement, use Collections::BinaryHeap to keep track of the order of the timers.

I've built this change on top of #192 because it will conflict, undrafting once that is completed.