I hereby claim:
- I am dchapes on github.
- I am dchapes (https://keybase.io/dchapes) on keybase.
- I have a public key whose fingerprint is 348F EE70 9845 22C4 857E 3B8A 5AA9 1CFD 3D2B 6B34
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "encoding/json" | |
| "net/http" | |
| "github.com/zenazn/goji" | |
| "github.com/zenazn/goji/web" | |
| ) |
| package scratch | |
| import ( | |
| "reflect" | |
| "sync" | |
| "testing" | |
| ) | |
| /* |
| package main | |
| import ( | |
| "bufio" | |
| "encoding/binary" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "math" |
From https://old.reddit.com/r/golang/comments/f3akld/alternative_to_fmtsprintf/ and https://gist.github.com/leearmstrong/f0110cf486068a962abb78089c72fa9c
For me benchmark output was:
BenchmarkSample/sample2 666 953517 ns/op 200211 B/op 10012 allocs/op
BenchmarkSample/sample3 938 666290 ns/op 40032 B/op 5006 allocs/op
BenchmarkSample/sample4 1699 367997 ns/op 159962 B/op 5005 allocs/op
BenchmarkSample/sample5 3145 190992 ns/op 24 B/op 4 allocs/op
| package sheet | |
| import ( | |
| "context" | |
| "fmt" | |
| "image" | |
| "os" | |
| "path/filepath" | |
| "runtime" |