Skip to content

Instantly share code, notes, and snippets.

@kolektiv
Created October 15, 2012 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kolektiv/3895672 to your computer and use it in GitHub Desktop.
Save kolektiv/3895672 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"time"
)
func main() {
i := 0
t := time.Now()
for _ = range time.Tick(21 * time.Microsecond) {
i++
if i == 48000 {
fmt.Println(time.Now().Sub(t))
break
}
}
}
@bradwright
Copy link

The indentation! MY EYES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment