keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
96 stars 37 forks source link

zeroconf: use min heap for timers #196

Closed oysteintveit-nordicsemi closed 5 months ago

oysteintveit-nordicsemi commented 5 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.