On Thu, Mar 25, 2021 at 4:21 PM 'Isaac Gouy' via golang-nuts <
golang-nuts@googlegroups.com> wrote:

> compile-time-constant program
> int    3m3.225s
> int32    2m43.404s
> int64    3m3.240s
>
> run-time-value program
> int    18m20.737s
> int32    6m57.880s
> int64    18m21.020s
>
> Hmmm what explains the difference for the compile-time-constant program
> between int and explicit int32 ?
>

Hint #1: Notice anything interesting about the relationship of the int and
int64 times?

Hint #2: https://golang.org/ref/spec#Numeric_types

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD-vwBV_eT24GSofvJe%3DND4NKnjMNL%3DPQmtTV12d6L_4PQ%40mail.gmail.com.

Reply via email to