Zxml
zero copy of xml parser with lua bind
Install / Use
/learn @lvzixun/ZxmlREADME
Introduction
zxml is zero copy, efficient and simple xml parse library for C. zxml.h is C api headfile. read zxml_parser.c for more detail.
lua_zxml.c is lua bind for decode excel xml2003 format file. read test_zxml.lua for more detail.
benchmark
| library | parse 200M xml file | |:-------:|:--------------------:| | zxml | 0.901s | | rapidxml | 1.287s | | tinyxml2 | 3.227s | | xml.sax of python | 14.996s |
