Skip to content

Instantly share code, notes, and snippets.

package arrayslice
import "testing"
func BenchmarkArray8for(b *testing.B) {
var a [8]int
for i := 0 ; i < b.N ; i++ {
for j := 0 ; j < len(a) ; j++ {
a[j] += j
}
@andyleap
andyleap / main.go
Last active October 6, 2017 02:59 — forked from ThisIsSet-L/main.go
liquidsoap controller so far
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"os/exec"
)