mirror of https://github.com/witer33/nhtp.git
performance improvement
This commit is contained in:
parent
7ecc914d04
commit
a65fcbe74c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue