On Tue, 18 Apr 2017, at 05:58 PM, Jan Mercl wrote:

> On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson
> <ffdavid...@gmail.com> wrote:
> 

> > Which loop uses the least computer resources?

> 

> select{}



Note though that select is not a loop so it will not infinitely repeat
instructions.


select{} can be used to block forever which is one common use for
infinite loops.


Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to