Merge pull request #77 from millerkil/optimize

Overallocate label index buffer
This commit is contained in:
Miek Gieben 2014-01-25 13:48:46 -08:00
commit 80d453b82d
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func Split(s string) []int {
if s == "." {
return nil
}
idx := []int{0}
idx := make([]int, 1, 3)
off := 0
end := false