But sometimes code is slow, because they put delay() calls in there. I had to re-write the initial Windows CE DHCP client because of this. It was one run-on procedure filled with deliberate delays to match what the writer perceived the spec as requiring.
I rewrote it to not block on delay calls or i/o, to issue probes to address servers, and to process responses as they came in instead of waiting forever in case any were very slow. Instead of seconds to resolve your IP address, it took milliseconds after that.
All good points.
But sometimes code is slow, because they put delay() calls in there. I had to re-write the initial Windows CE DHCP client because of this. It was one run-on procedure filled with deliberate delays to match what the writer perceived the spec as requiring.
I rewrote it to not block on delay calls or i/o, to issue probes to address servers, and to process responses as they came in instead of waiting forever in case any were very slow. Instead of seconds to resolve your IP address, it took milliseconds after that.
Especially still using garbage Electron apps.