I have a hunch they will generate the same code. If you care, show me the
disassembly of each.


On Thu, Apr 25, 2013 at 11:28 AM, Julien Schmidt
<notifications@github.com>wrote:

> In go/src/hello/hello.go:
>
> >
> >  func main() {
> >  	runtime.GOMAXPROCS(runtime.NumCPU())
> > +
> > +	db, err := sql.Open("mysql", DB_CONN_STR)
> > +	if err != nil {
> > +		log.Fatalf("Error opening database: %s", err)
>
> Wouldn't it be better to use %s with err.Error()?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TechEmpower/FrameworkBenchmarks/pull/209/files#r3963435>
> .
>