Re: [go-nuts] Infinite loops

2017-04-18 Thread Frank Davidson
Thanks, Ian! That's exactly my use case... On Tuesday, April 18, 2017 at 2:11:45 PM UTC-4, Ian Davis wrote: > > On Tue, 18 Apr 2017, at 05:58 PM, Jan Mercl wrote: > > On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson > wrote: > > > Which loop uses the least computer resources? > > select{} > > > Not

Re: [go-nuts] Infinite loops

2017-04-18 Thread Ian Davis
On Tue, 18 Apr 2017, at 05:58 PM, Jan Mercl wrote: > On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson > 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 bloc

Re: [go-nuts] Infinite loops

2017-04-18 Thread Frank Davidson
Thank, Jan! Just out of curiosity, why is that? On Tuesday, April 18, 2017 at 12:58:53 PM UTC-4, Jan Mercl wrote: > > On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson > wrote: > > > Which loop uses the least computer resources? > > select{} > > -- > > -j > -- You received this message because

Re: [go-nuts] Infinite loops

2017-04-18 Thread Jan Mercl
On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson wrote: > Which loop uses the least computer resources? select{} -- -j -- 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 e

[go-nuts] Infinite loops

2017-04-18 Thread Frank Davidson
Hi All, Which loop uses the least computer resources? for { } or for { time.Sleep(1 * time.Second) } or another type of infinite loop? Cheers, Frank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and sto