diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-30 19:04:42 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-30 19:09:35 -0700 |
| commit | e4f0185460ab348d596877606b2d4a99b4c27ffb (patch) | |
| tree | fcc897c977b35da6344aad7531faa4c8cf66b9b6 /lexer.go | |
| parent | aa8a935f620a053cc9c3c65587b433f3e8d3a6e9 (diff) | |
| download | ccl-e4f0185460ab348d596877606b2d4a99b4c27ffb.tar.zst | |
Set the lexer as a field on parser
goos: linux
goarch: amd64
pkg: roseh.moe/pkg/ccl
cpu: AMD Ryzen 9 5900X 12-Core Processor
│ baseline.txt │ new.txt │
│ sec/op │ sec/op vs base │
Parse-24 4.808µ ± 0% 4.739µ ± 0% -1.44% (p=0.000 n=20)
Diffstat (limited to 'lexer.go')
| -rw-r--r-- | lexer.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -113,7 +113,3 @@ func (l *lexer) next() (token, error) { } return token{}, l.error("invalid lexeme") } - -func newLexer(data []byte) *lexer { - return &lexer{data: data} -} |
