dart-lang / html

Dart port of html5lib. For parsing HTML/HTML5 with Dart. Works in the client and on the server.
https://pub.dev/packages/html
Other
276 stars 58 forks source link

Various performance improvements #251

Open moffatman opened 2 months ago

moffatman commented 2 months ago

Should be twice as fast according to my use cases. Happy to discuss what you need for testing, (micro)benchmarking, preserving public API for old slow functions, or whatever else to merge it. I know I still need to do stuff like bump version, changelog, etc.


kevmoo commented 3 weeks ago

please run the formatter!

moffatman commented 3 weeks ago

Idk whether the new trie.dart is the right way... maybe something to wait for dart macros