just wondering if "go" compiler uses any sort of optimization such as constant folding.
https://en.wikipedia.org/wiki/Constant_folding
searched through google but couldn't find the answer i'm looking for.
just wondering if "go" compiler uses any sort of optimization such as constant folding.
https://en.wikipedia.org/wiki/Constant_folding
searched through google but couldn't find the answer i'm looking for.
Go constant expressions are evaluated at compile time. The Go gc compiler, written in Go, uses package
bigto evaluate numeric constant expressions.