Skip to content

Instantly share code, notes, and snippets.

View dchapes's full-sized avatar

dchapes

View GitHub Profile
package main
import (
"bufio"
"encoding/binary"
"flag"
"fmt"
"io"
"log"
"math"
@dchapes
dchapes / dynamic_select_test.go
Last active September 2, 2015 17:25 — forked from timstclair/dynamic_select_test.go
Benchmark aggregating channels vs. reflect.Select
package scratch
import (
"reflect"
"sync"
"testing"
)
/*
package main
import (
"encoding/json"
"net/http"
"github.com/zenazn/goji"
"github.com/zenazn/goji/web"
)