g channel, but not many that are
faster than 10.2 nanoseconds.
From: on behalf of
Date: Monday, November 14, 2016 at 6:23 AM
To: golang-nuts
Cc:
Subject: Re: [go-nuts] Stressing the system using
Why would a select statement take up most of the execution time?
Is there another way to imple
Why would a select statement take up most of the execution time?
Is there another way to implement a non blocking channel?
On Monday, November 14, 2016 at 6:01:24 PM UTC+5:30, Michael Jones wrote:
>
> This is funny in the sense that my programs are great at stressing the CPU
> even though I don
Why would a select statement take up most of the execution time?
Is there another way to implement a non blocking channel?
On Monday, November 14, 2016 at 6:01:24 PM UTC+5:30, Michael Jones wrote:
>
> This is funny in the sense that my programs are great at stressing the CPU
> even though I don
This is funny in the sense that my programs are great at stressing the CPU even
though I don’t want to! :-)
I looked at your hogcpu() function and saw an issue: you busy loop repeats a
select statement and a square root. Almost any simple implementation of this
will spend all of its time in