Use 64K buffer

This commit is contained in:
Miek Gieben 2012-01-05 08:44:36 +01:00
parent 0d08da5d84
commit 041b8e196e
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ func zlexer(r io.Reader, c chan lex) {
owner := true
brace := 0
p, q := 0, 0
buf := make([]byte, 4096)
buf := make([]byte, MaxMsgSize)
n, err := r.Read(buf)
for err != io.EOF {
l.column = 0