Open asuka-mio opened 1 year ago
As the first step on way to KMM #577 we will drop Jsoup Things to be discussed: Which html parser to use? https://github.com/y21/tl https://github.com/servo/html5ever Or https://docs.rs/html_parser/latest/html_parser/ ?
About performance At present, the html data obtained through okhttp is in the jvm heap. Parsing it with rust requires a sucking copy But compared to the greater gc pressure brought by jsoup, this may have better performance. Maybe?
And certainly, part of #757
As the first step on way to KMM #577 we will drop Jsoup Things to be discussed: Which html parser to use? https://github.com/y21/tl https://github.com/servo/html5ever Or https://docs.rs/html_parser/latest/html_parser/ ?
About performance At present, the html data obtained through okhttp is in the jvm heap. Parsing it with rust requires a sucking copy But compared to the greater gc pressure brought by jsoup, this may have better performance. Maybe?