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
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
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
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
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