You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Just reuse the same encoder all the time instead of constructing a new one. Also, avoid converting to lowercase by configuring the encoder's output alphabet as lowercase in the first place. Co-authored-by: Lysander Trischler <twtxt@lyse.isobeef.org> Reviewed-on: #16 Co-authored-by: lyse <lyse@noreply@mills.io> Co-committed-by: lyse <lyse@noreply@mills.io> |
1 month ago | |
---|---|---|
cmd/lextwt-cli | 1 year ago | |
.gitignore | 1 month ago | |
LICENSE | 1 year ago | |
Makefile | 1 month ago | |
README.md | 1 year ago | |
ast.go | 1 month ago | |
ast_test.go | 3 months ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
hash.go | 1 month ago | |
lexer.go | 3 months ago | |
lexer_test.go | 1 year ago | |
lextwt.go | 8 months ago | |
lextwt_test.go | 6 months ago | |
parser.go | 6 months ago | |
parser_test.go | 3 months ago | |
salty.go | 1 month ago | |
salty_test.go | 3 months ago |