Skip to content

Instantly share code, notes, and snippets.

View RickyS's full-sized avatar

Ricky Seltzer RickyS

  • Jerusalem, Israel
View GitHub Profile
@RickyS
RickyS / Slicery.go
Last active January 3, 2016 12:38
Benchmark the Design of Append. Discussion in Golang group at: https://groups.google.com/forum/#!topic/golang-nuts/OHrLZU5SwAQ
package slicery
import ()
//const loops = 7
const elements = 6
const ints = 10000000 // smaller and less unrealistic
type X struct {
Data [ints]int
}