diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-29 22:54:51 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-29 22:54:51 +0200 |
commit | 0dfe2a310db3fb7492ed448235e0757042f0f5ca (patch) | |
tree | 676aaa8d37eeaf530a53224e4463976f6b6151bb /src/html | |
parent | 54f4d71325c4f12b23113c945625796bda78e3c6 (diff) | |
download | chawan-0dfe2a310db3fb7492ed448235e0757042f0f5ca.tar.gz |
Increase tokenizer buffer size, add mark color option
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/htmltokenizer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/htmltokenizer.nim b/src/html/htmltokenizer.nim index 4f81f6a6..a1c894c8 100644 --- a/src/html/htmltokenizer.nim +++ b/src/html/htmltokenizer.nim @@ -97,7 +97,7 @@ func `$`*(tok: Token): string = of COMMENT: fmt"{tok.t} {tok.data}" of EOF: fmt"{tok.t}" -const bufSize = 512 +const bufSize = 4096 const copyBufSize = 16 proc newTokenizer*(s: Stream): Tokenizer = result.sbuf = newString(bufSize) |