Author Topic: I linked Google's HTML5 parser  (Read 288 times)

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 800
  • Liked:
  • Likes Given: 8
I linked Google's HTML5 parser
« on: December 01, 2021, 09:11:54 AM »
I linked Google's Gumbo parser for OS 9.
It parses around 15 MB/s.
The memory use is around 7 times the file length.
It does complete validation and builds a DOM tree.
Unfortunately the error handling is done with assert, which means that your debug program will show an error and stop, but the release version may crash, for example because of out of memory.
There has to be a better error handling before this is really usable, for example in a web spider program.


SimplePortal 2.3.6 © 2008-2014, SimplePortal