perf: parse filenames in parse() insteadof render()

This commit is contained in:
harttle
2021-09-30 22:15:09 +08:00
committed by Jun Yang
parent 24f5346084
commit 8273c17dab
13 changed files with 80 additions and 68 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export class Tokenizer {
private rawBeginAt = -1
constructor (
private input: string,
public input: string,
private trie: Trie,
private file: string = ''
) {