Anonymous user
Echo server: Difference between revisions
m
Added further explanation
(Added Lua version) |
m (Added further explanation) |
||
Line 1,201:
table.insert(clients, newClient)
end</lang>
Without the microsecond delays, the whole thing would become one 'hot' loop and eat all the CPU time for one core. With them, it uses close to zero percent.
=={{header|Nim}}==
|