Tell me parer XML for C++ to parse large files (1Gb+)
It is necessary that the parser is not loaded in memory the whole file, and read it slowly. Than the standard library the better. Ie if there's something in the standard library STL or Boost, it is all perfect, if not, then may be some more or less standard libraries for Linux can do it. I also need to work fast.
Looking for on-demand SAX parser. Comes to mind Xerces, expat, but a lot.
savanah.Towne answered on October 3rd 19 at 02:28
There are still libxml2 in C, he can SAX. Pretty standard for Linux. I don't know.
Maggie18 answered on October 3rd 19 at 02:30
Strongly depends on tasks.
If the goal is to disassemble everything and then long to be picked, of course, Lieb type SAX, the most common variant is libxml2.
If the goal is to find something specific, then most likely imho — row-by-row processing regexps.
Jamison_Leffler answered on October 3rd 19 at 02:32