forked from pelletier/go-toml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bytes.Buffer for tomlLexer.buffer (pelletier#166)
* Use bytes.Buffer for tomlLexer.buffer * Add BenchmarkLexer Fix pelletier#165 name old time/op new time/op delta Lexer-4 343µs ± 1% 331µs ± 1% -3.56% (p=0.000 n=20+19) name old alloc/op new alloc/op delta Lexer-4 55.8kB ± 0% 50.8kB ± 0% -8.86% (p=0.000 n=20+20) name old allocs/op new allocs/op delta Lexer-4 2.01k ± 0% 1.84k ± 0% -8.46% (p=0.000 n=20+20)
- Loading branch information
Showing
2 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters