June 2018 Update

This commit is contained in:
Ingy döt Net 2018-06-22 20:57:24 +00:00
parent ba8067c3b7
commit 22f33d4004
5278 changed files with 84726 additions and 14379 deletions

View file

@ -1,9 +1,9 @@
package main
import (
"bytes"
"fmt"
"math/rand"
"strings"
"time"
)
@ -67,7 +67,7 @@ var (
)
func (g *grid) String() string {
var buf bytes.Buffer
var buf strings.Builder
// Don't really need to call Grow but it helps avoid multiple
// reallocations if the size is large.
buf.Grow((len(g.cell) + 1) * len(g.cell[0]) * 7)