performance improvement

This commit is contained in:
witer33 2021-10-04 10:04:40 +02:00 committed by GitHub
parent 7ecc914d04
commit a65fcbe74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ method find_closers(this: Builder) {.base.} =
this.cursor.go_to(initial_index)
method build*(this: Builder) {.base.} =
this.cursor = Cursor(data: this.parser.tokens)
this.cursor = Cursor(data: this.parser.parse_tokens())
this.find_closers()
var opened_tags: seq[Tag]
var tag: Tag